#181888#181888
#181888 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.5% C 0.175 H 270.4°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).
Color values
| HEX | #181888 |
|---|---|
| RGB | rgb(24, 24, 136) |
| HSL | hsl(240, 70%, 31%) |
| HSV | hsv(240, 82%, 53%) |
| CMYK | cmyk(82.4%, 82.4%, 0%, 46.7%) |
| CIE-LAB | lab(18.47, 40.56, -60.57) |
| CIE-LCH | lch(18.47, 72.90, 303.81°) |
| OKLab | oklab(31.48% 0.0011 -0.1754) |
| OKLCH | oklch(31.48% 0.175 270.4) |
| XYZ | xyz(5.1457, 2.6244, 23.5231) |
| Luminance | 0.0262 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.62
Midnight Blue
#191970
ΔE00 3.82
Darkblue
#00008B
ΔE00 3.87
Navy
#000080
ΔE00 4.29
Cobalt Blue
#030AA7
ΔE00 4.55
Dark Royal Blue
#02066F
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181888 #888818
analogous
#185088 #181888 #501888
triadic
#181888 #881818 #188818
tetradic
#181888 #881850 #888818 #188850
square
#181888 #881850 #888818 #188850
split-complementary
#181888 #885018 #508818
monochromatic
#060620 #0F0F54 #181888 #2121BC #3E3EDD
Accessibility & contrast
On white
13.77
#181888 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#181888 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181888
13.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181888 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181888 | 1.00 | 13.77 | 1.53 | 13.77 |
| #FFFFFF | 13.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00338B
Deuteranopia (green-blind)
#002786
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #181888; /* rgb */ color: rgb(24, 24, 136); /* oklch */ color: oklch(31.5% 0.175 270.4);
Tailwind
colors: {
custom: {
50: '#6c58ac',
500: '#181888',
950: '#000000',
},
}SCSS
$custom: #181888; $custom-light: #6c58ac; $custom-dark: #000000;
JSON
{
"hex": "#181888",
"rgb": {
"r": 24,
"g": 24,
"b": 136
},
"hsl": {
"h": 240,
"s": 70,
"l": 31.373
},
"oklch": {
"l": 0.31475,
"c": 0.17538,
"h": 270.4
},
"luminance": 0.02625
}Semantic roles & 50–950 ramp
primary
#181888
secondary
#BCBC40
accent
#ED3BED
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F