#181E72#181E72
#181E72 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.8% C 0.141 H 271.1°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).
Color values
| HEX | #181E72 |
|---|---|
| RGB | rgb(24, 30, 114) |
| HSL | hsl(236, 65%, 27%) |
| HSV | hsv(236, 79%, 45%) |
| CMYK | cmyk(78.9%, 73.7%, 0%, 55.3%) |
| CIE-LAB | lab(17.17, 29.16, -48.71) |
| CIE-LCH | lch(17.17, 56.78, 300.91°) |
| OKLab | oklab(29.8% 0.0028 -0.141) |
| OKLCH | oklch(29.8% 0.141 271.1) |
| XYZ | xyz(3.8772, 2.3372, 16.1631) |
| Luminance | 0.0234 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.45
Dark Royal Blue
#02066F
ΔE00 5.46
Royal
#0C1793
ΔE00 5.53
Darkblue (survey)
#030764
ΔE00 5.57
Deep Blue
#040273
ΔE00 6.15
Navy
#000080
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181E72 #726C18
analogous
#184B72 #181E72 #3F1872
triadic
#181E72 #72181E #1E7218
tetradic
#181E72 #72184B #726C18 #18723F
square
#181E72 #72184B #726C18 #18723F
split-complementary
#181E72 #723F18 #4B7218
monochromatic
#050719 #0D113F #181E72 #232BA5 #313CD4
Accessibility & contrast
On white
14.31
#181E72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#181E72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181E72
14.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181E72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181E72 | 1.00 | 14.31 | 1.47 | 14.31 |
| #FFFFFF | 14.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F75
Deuteranopia (green-blind)
#002670
Tritanopia (blue-blind)
#003545
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #181e72; /* rgb */ color: rgb(24, 30, 114); /* oklch */ color: oklch(29.8% 0.141 271.1);
Tailwind
colors: {
custom: {
50: '#665a9b',
500: '#181e72',
950: '#000000',
},
}SCSS
$custom: #181e72; $custom-light: #665a9b; $custom-dark: #000000;
JSON
{
"hex": "#181e72",
"rgb": {
"r": 24,
"g": 30,
"b": 114
},
"hsl": {
"h": 236,
"s": 65.217,
"l": 27.059
},
"oklch": {
"l": 0.29797,
"c": 0.14103,
"h": 271.1
},
"luminance": 0.02338
}Semantic roles & 50–950 ramp
primary
#181E72
secondary
#A7A03E
accent
#DD40E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E