#181E7E#181E7E
#181E7E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.157 H 270.4°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).
Color values
| HEX | #181E7E |
|---|---|
| RGB | rgb(24, 30, 126) |
| HSL | hsl(236, 68%, 29%) |
| HSV | hsv(236, 81%, 49%) |
| CMYK | cmyk(81%, 76.2%, 0%, 50.6%) |
| CIE-LAB | lab(18.49, 33.62, -54.22) |
| CIE-LCH | lch(18.49, 63.80, 301.80°) |
| OKLab | oklab(31.14% 0.001 -0.157) |
| OKLCH | oklch(31.14% 0.157 270.4) |
| XYZ | xyz(4.6056, 2.6286, 19.9993) |
| Luminance | 0.0263 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.39
Royal
#0C1793
ΔE00 3.63
Dark Royal Blue
#02066F
ΔE00 5.43
Navy
#000080
ΔE00 5.80
Darkblue
#00008B
ΔE00 5.82
Deep Blue
#040273
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181E7E #7E7818
analogous
#18517E #181E7E #45187E
triadic
#181E7E #7E181E #1E7E18
tetradic
#181E7E #7E1851 #7E7818 #187E45
square
#181E7E #7E1851 #7E7818 #187E45
split-complementary
#181E7E #7E4518 #517E18
monochromatic
#05061A #0E124B #181E7E #222AB1 #3741D9
Accessibility & contrast
On white
13.76
#181E7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#181E7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181E7E
13.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181E7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181E7E | 1.00 | 13.76 | 1.53 | 13.76 |
| #FFFFFF | 13.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003281
Deuteranopia (green-blind)
#00287C
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #181e7e; /* rgb */ color: rgb(24, 30, 126); /* oklch */ color: oklch(31.1% 0.157 270.4);
Tailwind
colors: {
custom: {
50: '#695ba4',
500: '#181e7e',
950: '#000000',
},
}SCSS
$custom: #181e7e; $custom-light: #695ba4; $custom-dark: #000000;
JSON
{
"hex": "#181e7e",
"rgb": {
"r": 24,
"g": 30,
"b": 126
},
"hsl": {
"h": 236.471,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.31141,
"c": 0.15703,
"h": 270.4
},
"luminance": 0.02629
}Semantic roles & 50–950 ramp
primary
#181E7E
secondary
#B2AC3F
accent
#E13DEB
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F