#181E85#181E85
#181E85 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.9% C 0.166 H 269.9°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).
Color values
| HEX | #181E85 |
|---|---|
| RGB | rgb(24, 30, 133) |
| HSL | hsl(237, 69%, 31%) |
| HSV | hsv(237, 82%, 52%) |
| CMYK | cmyk(82%, 77.4%, 0%, 47.8%) |
| CIE-LAB | lab(19.29, 36.15, -57.33) |
| CIE-LCH | lch(19.29, 67.77, 302.23°) |
| OKLab | oklab(31.95% -0.0002 -0.1661) |
| OKLCH | oklch(31.95% 0.166 269.9) |
| XYZ | xyz(5.0732, 2.8156, 22.4618) |
| Luminance | 0.0282 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.65
Midnight Blue
#191970
ΔE00 3.35
Darkblue
#00008B
ΔE00 5.37
Navy
#000080
ΔE00 5.63
Cobalt Blue
#030AA7
ΔE00 5.71
Dark Royal Blue
#02066F
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181E85 #857F18
analogous
#185485 #181E85 #481885
triadic
#181E85 #85181E #1E8518
tetradic
#181E85 #851854 #857F18 #188548
square
#181E85 #851854 #857F18 #188548
split-complementary
#181E85 #854818 #548518
monochromatic
#05071D #0F1251 #181E85 #212AB9 #3C44DC
Accessibility & contrast
On white
13.43
#181E85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#181E85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181E85
13.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181E85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181E85 | 1.00 | 13.43 | 1.56 | 13.43 |
| #FFFFFF | 13.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003488
Deuteranopia (green-blind)
#002983
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #181e85; /* rgb */ color: rgb(24, 30, 133); /* oklch */ color: oklch(31.9% 0.166 269.9);
Tailwind
colors: {
custom: {
50: '#6b5baa',
500: '#181e85',
950: '#000000',
},
}SCSS
$custom: #181e85; $custom-light: #6b5baa; $custom-dark: #000000;
JSON
{
"hex": "#181e85",
"rgb": {
"r": 24,
"g": 30,
"b": 133
},
"hsl": {
"h": 236.697,
"s": 69.427,
"l": 30.784
},
"oklch": {
"l": 0.31946,
"c": 0.16607,
"h": 269.9
},
"luminance": 0.02816
}Semantic roles & 50–950 ramp
primary
#181E85
secondary
#B9B240
accent
#E33CEC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F