#181E8E#181E8E
#181E8E is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.177 H 269.4°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).
Color values
| HEX | #181E8E |
|---|---|
| RGB | rgb(24, 30, 142) |
| HSL | hsl(237, 71%, 33%) |
| HSV | hsv(237, 83%, 56%) |
| CMYK | cmyk(83.1%, 78.9%, 0%, 44.3%) |
| CIE-LAB | lab(20.34, 39.31, -61.23) |
| CIE-LCH | lch(20.34, 72.76, 302.70°) |
| OKLab | oklab(33% -0.0017 -0.1774) |
| OKLCH | oklch(33% 0.177 269.4) |
| XYZ | xyz(5.7218, 3.0751, 25.8779) |
| Luminance | 0.0308 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.72
Cobalt Blue
#030AA7
ΔE00 4.58
Midnight Blue
#191970
ΔE00 4.63
Darkblue
#00008B
ΔE00 5.14
Royal Blue (survey)
#0504AA
ΔE00 5.19
Navy
#000080
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181E8E #8E8818
analogous
#18598E #181E8E #4D188E
triadic
#181E8E #8E181E #1E8E18
tetradic
#181E8E #8E1859 #8E8818 #188E4D
square
#181E8E #8E1859 #8E8818 #188E4D
split-complementary
#181E8E #8E4D18 #598E18
monochromatic
#060825 #0F135A #181E8E #2129C2 #4149DF
Accessibility & contrast
On white
13.00
#181E8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#181E8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181E8E
13.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181E8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181E8E | 1.00 | 13.00 | 1.62 | 13.00 |
| #FFFFFF | 13.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003791
Deuteranopia (green-blind)
#002B8C
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #181e8e; /* rgb */ color: rgb(24, 30, 142); /* oklch */ color: oklch(33.0% 0.177 269.4);
Tailwind
colors: {
custom: {
50: '#6d5cb0',
500: '#181e8e',
950: '#000000',
},
}SCSS
$custom: #181e8e; $custom-light: #6d5cb0; $custom-dark: #000000;
JSON
{
"hex": "#181e8e",
"rgb": {
"r": 24,
"g": 30,
"b": 142
},
"hsl": {
"h": 236.949,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.32998,
"c": 0.17738,
"h": 269.4
},
"luminance": 0.03076
}Semantic roles & 50–950 ramp
primary
#181E8E
secondary
#C0B942
accent
#E53AEE
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980