#123776

A color in the Blue, Sky, Navy family

#123776 is a color in the Blue, Sky, Navy family: RGB(18, 55, 118), HSL(218°, 74%, 27%), CMYK(85%, 53%, 0%, 54%). Closest named color: midnightblue. Contrast is 11.45:1 on white and 1.83:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#123776
RGBrgb(18 55 118)
RGB (legacy)rgb(18, 55, 118)
RGB %rgb(7% 22% 46%)
HSLhsl(218 74% 27%)
HSV / HSBhsv(218, 85%, 46%)
HWBhwb(218 7% 54%)
CMYKcmyk(85%, 53%, 0%, 54%)
CIELAB (D50)lab(23.58 7.09 -40.65)
LCHlch(23.58 41.27 279.89)
OKLaboklab(0.3509 -0.0193 -0.1146)
OKLCHoklch(0.3509 0.1162 260.42)
Decimal1193846

Properties

Color ToneBlue, Sky, Navy
Closest named colormidnightblue ΔE 7.4
Closest web-safe color#003366
Hue218°
Saturation (HSL / HSV)74% / 85%
Lightness (HSL)27%
Brightness or Value (HSV)46%
Luminance (Rec.601 / Rec.709)20% / 20%
Relative luminance (WCAG)0.0417
Red / Green / Blue18 / 55 / 118

WCAG 2.2 Contrast Ratio

On White (#ffffff)
11.45:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.83:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 95.9 / 0 · As background with white / black text: Lc -99.7 / 8

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #123776;
  --color-brand-oklch: oklch(35.09% 0.1162 260.42);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(18 55 118 / 50%); }
/* Tailwind CSS */
<div class="bg-[#123776] text-[#123776] border-[#123776]">