#181E71#181E71
#181E71 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.7% C 0.140 H 271.2°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).
Color values
| HEX | #181E71 |
|---|---|
| RGB | rgb(24, 30, 113) |
| HSL | hsl(236, 65%, 27%) |
| HSV | hsv(236, 79%, 44%) |
| CMYK | cmyk(78.8%, 73.5%, 0%, 55.7%) |
| CIE-LAB | lab(17.06, 28.78, -48.24) |
| CIE-LCH | lch(17.06, 56.18, 300.82°) |
| OKLab | oklab(29.69% 0.0029 -0.1396) |
| OKLCH | oklch(29.69% 0.14 271.2) |
| XYZ | xyz(3.8206, 2.3146, 15.8650) |
| Luminance | 0.0232 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.48
Dark Royal Blue
#02066F
ΔE00 5.51
Darkblue (survey)
#030764
ΔE00 5.56
Royal
#0C1793
ΔE00 5.70
Deep Blue
#040273
ΔE00 6.21
Navy
#000080
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181E71 #716B18
analogous
#184B71 #181E71 #3F1871
triadic
#181E71 #71181E #1E7118
tetradic
#181E71 #71184B #716B18 #18713F
square
#181E71 #71184B #716B18 #18713F
split-complementary
#181E71 #713F18 #4B7118
monochromatic
#050719 #0D113F #181E71 #232BA3 #303BD3
Accessibility & contrast
On white
14.35
#181E71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#181E71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181E71
14.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181E71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181E71 | 1.00 | 14.35 | 1.46 | 14.35 |
| #FFFFFF | 14.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E74
Deuteranopia (green-blind)
#00266F
Tritanopia (blue-blind)
#003545
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #181e71; /* rgb */ color: rgb(24, 30, 113); /* oklch */ color: oklch(29.7% 0.140 271.2);
Tailwind
colors: {
custom: {
50: '#655a9b',
500: '#181e71',
950: '#000000',
},
}SCSS
$custom: #181e71; $custom-light: #655a9b; $custom-dark: #000000;
JSON
{
"hex": "#181e71",
"rgb": {
"r": 24,
"g": 30,
"b": 113
},
"hsl": {
"h": 235.955,
"s": 64.964,
"l": 26.863
},
"oklch": {
"l": 0.29687,
"c": 0.13966,
"h": 271.2
},
"luminance": 0.02315
}Semantic roles & 50–950 ramp
primary
#181E71
secondary
#A69F3E
accent
#DD40E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E