#123772

A color in the Blue, Sky, Navy family

#123772 is a color in the Blue, Sky, Navy family: RGB(18, 55, 114), HSL(217°, 73%, 26%), CMYK(84%, 52%, 0%, 55%). Closest named color: midnightblue. Contrast is 11.57:1 on white and 1.82:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#123772
RGBrgb(18 55 114)
RGB (legacy)rgb(18, 55, 114)
RGB %rgb(7% 22% 45%)
HSLhsl(217 73% 26%)
HSV / HSBhsv(217, 84%, 45%)
HWBhwb(217 7% 55%)
CMYKcmyk(84%, 52%, 0%, 55%)
CIELAB (D50)lab(23.32 5.65 -38.53)
LCHlch(23.32 38.95 278.35)
OKLaboklab(0.3476 -0.0199 -0.1085)
OKLCHoklch(0.3476 0.1103 259.59)
Decimal1193842

Properties

Color ToneBlue, Sky, Navy
Closest named colormidnightblue ΔE 7.4
Closest web-safe color#003366
Hue217°
Saturation (HSL / HSV)73% / 84%
Lightness (HSL)26%
Brightness or Value (HSV)45%
Luminance (Rec.601 / Rec.709)20% / 20%
Relative luminance (WCAG)0.0408
Red / Green / Blue18 / 55 / 114

WCAG 2.2 Contrast Ratio

On White (#ffffff)
11.57:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.82: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 96.2 / 0 · As background with white / black text: Lc -99.9 / 7.7

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: #123772;
  --color-brand-oklch: oklch(34.76% 0.1103 259.59);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(18 55 114 / 50%); }
/* Tailwind CSS */
<div class="bg-[#123772] text-[#123772] border-[#123772]">