#181972#181972
#181972 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.0% C 0.147 H 272.1°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).
Color values
| HEX | #181972 |
|---|---|
| RGB | rgb(24, 25, 114) |
| HSL | hsl(239, 65%, 27%) |
| HSV | hsv(239, 79%, 45%) |
| CMYK | cmyk(78.9%, 78.1%, 0%, 55.3%) |
| CIE-LAB | lab(16.02, 32.34, -50.60) |
| CIE-LCH | lch(16.02, 60.05, 302.59°) |
| OKLab | oklab(28.98% 0.0053 -0.1465) |
| OKLCH | oklch(28.98% 0.147 272.1) |
| XYZ | xyz(3.7606, 2.1040, 16.1242) |
| Luminance | 0.0210 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.35
Dark Royal Blue
#02066F
ΔE00 4.09
Darkblue (survey)
#030764
ΔE00 4.35
Deep Blue
#040273
ΔE00 4.74
Royal
#0C1793
ΔE00 5.03
Navy
#000080
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181972 #727118
analogous
#184672 #181972 #441872
triadic
#181972 #721819 #197218
tetradic
#181972 #721846 #727118 #187244
square
#181972 #721846 #727118 #187244
split-complementary
#181972 #724418 #467218
monochromatic
#050619 #0D0E3F #181972 #2324A5 #3133D4
Accessibility & contrast
On white
14.78
#181972 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#181972 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181972
14.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181972 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181972 | 1.00 | 14.78 | 1.42 | 14.78 |
| #FFFFFF | 14.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C75
Deuteranopia (green-blind)
#002370
Tritanopia (blue-blind)
#003344
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #181972; /* rgb */ color: rgb(24, 25, 114); /* oklch */ color: oklch(29.0% 0.147 272.1);
Tailwind
colors: {
custom: {
50: '#66579c',
500: '#181972',
950: '#000000',
},
}SCSS
$custom: #181972; $custom-light: #66579c; $custom-dark: #000000;
JSON
{
"hex": "#181972",
"rgb": {
"r": 24,
"g": 25,
"b": 114
},
"hsl": {
"h": 239.333,
"s": 65.217,
"l": 27.059
},
"oklch": {
"l": 0.28981,
"c": 0.14656,
"h": 272.1
},
"luminance": 0.02104
}Semantic roles & 50–950 ramp
primary
#181972
secondary
#A7A63E
accent
#E640E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E