#181E86#181E86
#181E86 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.167 H 269.9°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).
Color values
| HEX | #181E86 |
|---|---|
| RGB | rgb(24, 30, 134) |
| HSL | hsl(237, 70%, 31%) |
| HSV | hsv(237, 82%, 53%) |
| CMYK | cmyk(82.1%, 77.6%, 0%, 47.5%) |
| CIE-LAB | lab(19.41, 36.50, -57.77) |
| CIE-LCH | lch(19.41, 68.33, 302.29°) |
| OKLab | oklab(32.06% -0.0004 -0.1673) |
| OKLCH | oklch(32.06% 0.167 269.9) |
| XYZ | xyz(5.1426, 2.8434, 22.8274) |
| Luminance | 0.0284 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.53
Midnight Blue
#191970
ΔE00 3.49
Darkblue
#00008B
ΔE00 5.32
Cobalt Blue
#030AA7
ΔE00 5.57
Navy
#000080
ΔE00 5.62
Dark Royal Blue
#02066F
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181E86 #868018
analogous
#185586 #181E86 #491886
triadic
#181E86 #86181E #1E8618
tetradic
#181E86 #861855 #868018 #188649
square
#181E86 #861855 #868018 #188649
split-complementary
#181E86 #864918 #558618
monochromatic
#05071E #0F1252 #181E86 #212ABA #3C45DC
Accessibility & contrast
On white
13.39
#181E86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#181E86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181E86
13.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181E86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181E86 | 1.00 | 13.39 | 1.57 | 13.39 |
| #FFFFFF | 13.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003489
Deuteranopia (green-blind)
#002984
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #181e86; /* rgb */ color: rgb(24, 30, 134); /* oklch */ color: oklch(32.1% 0.167 269.9);
Tailwind
colors: {
custom: {
50: '#6b5baa',
500: '#181e86',
950: '#000000',
},
}SCSS
$custom: #181e86; $custom-light: #6b5baa; $custom-dark: #000000;
JSON
{
"hex": "#181e86",
"rgb": {
"r": 24,
"g": 30,
"b": 134
},
"hsl": {
"h": 236.727,
"s": 69.62,
"l": 30.98
},
"oklch": {
"l": 0.32062,
"c": 0.16734,
"h": 269.9
},
"luminance": 0.02844
}Semantic roles & 50–950 ramp
primary
#181E86
secondary
#BAB340
accent
#E33BEC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F