#181F86#181F86
#181F86 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.2% C 0.166 H 269.7°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).
Color values
| HEX | #181F86 |
|---|---|
| RGB | rgb(24, 31, 134) |
| HSL | hsl(236, 70%, 31%) |
| HSV | hsv(236, 82%, 53%) |
| CMYK | cmyk(82.1%, 76.9%, 0%, 47.5%) |
| CIE-LAB | lab(19.62, 35.90, -57.42) |
| CIE-LCH | lch(19.62, 67.72, 302.02°) |
| OKLab | oklab(32.21% -0.0007 -0.1663) |
| OKLCH | oklch(32.21% 0.166 269.7) |
| XYZ | xyz(5.1683, 2.8948, 22.8360) |
| Luminance | 0.0290 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.71
Midnight Blue
#191970
ΔE00 3.55
Darkblue
#00008B
ΔE00 5.58
Cobalt Blue
#030AA7
ΔE00 5.73
Navy
#000080
ΔE00 5.87
Dark Royal Blue
#02066F
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181F86 #867F18
analogous
#185686 #181F86 #481886
triadic
#181F86 #86181F #1F8618
tetradic
#181F86 #861856 #867F18 #188648
square
#181F86 #861856 #867F18 #188648
split-complementary
#181F86 #864818 #568618
monochromatic
#05071E #0F1352 #181F86 #212BBA #3C46DC
Accessibility & contrast
On white
13.30
#181F86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#181F86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181F86
13.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181F86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181F86 | 1.00 | 13.30 | 1.58 | 13.30 |
| #FFFFFF | 13.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003589
Deuteranopia (green-blind)
#002A84
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #181f86; /* rgb */ color: rgb(24, 31, 134); /* oklch */ color: oklch(32.2% 0.166 269.7);
Tailwind
colors: {
custom: {
50: '#6b5caa',
500: '#181f86',
950: '#000000',
},
}SCSS
$custom: #181f86; $custom-light: #6b5caa; $custom-dark: #000000;
JSON
{
"hex": "#181f86",
"rgb": {
"r": 24,
"g": 31,
"b": 134
},
"hsl": {
"h": 236.182,
"s": 69.62,
"l": 30.98
},
"oklch": {
"l": 0.32212,
"c": 0.16633,
"h": 269.7
},
"luminance": 0.02895
}Semantic roles & 50–950 ramp
primary
#181F86
secondary
#BAB240
accent
#E13BEC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F