#18188E#18188E
#18188E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.2% C 0.183 H 269.9°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).
Color values
| HEX | #18188E |
|---|---|
| RGB | rgb(24, 24, 142) |
| HSL | hsl(240, 71%, 33%) |
| HSV | hsv(240, 83%, 56%) |
| CMYK | cmyk(83.1%, 83.1%, 0%, 44.3%) |
| CIE-LAB | lab(19.22, 42.55, -63.08) |
| CIE-LCH | lch(19.22, 76.09, 304.00°) |
| OKLab | oklab(32.21% -0.0002 -0.1826) |
| OKLCH | oklch(32.21% 0.183 269.9) |
| XYZ | xyz(5.5841, 2.7998, 25.8320) |
| Luminance | 0.0280 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 0.88
Cobalt Blue
#030AA7
ΔE00 3.77
Darkblue
#00008B
ΔE00 3.83
Royal Blue (survey)
#0504AA
ΔE00 4.34
Navy
#000080
ΔE00 4.56
Midnight Blue
#191970
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18188E #8E8E18
analogous
#18538E #18188E #53188E
triadic
#18188E #8E1818 #188E18
tetradic
#18188E #8E1853 #8E8E18 #188E53
square
#18188E #8E1853 #8E8E18 #188E53
split-complementary
#18188E #8E5318 #538E18
monochromatic
#060625 #0F0F5A #18188E #2121C2 #4141DF
Accessibility & contrast
On white
13.46
#18188E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#18188E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18188E
13.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18188E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18188E | 1.00 | 13.46 | 1.56 | 13.46 |
| #FFFFFF | 13.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003591
Deuteranopia (green-blind)
#00288C
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #18188e; /* rgb */ color: rgb(24, 24, 142); /* oklch */ color: oklch(32.2% 0.183 269.9);
Tailwind
colors: {
custom: {
50: '#6e58b0',
500: '#18188e',
950: '#000000',
},
}SCSS
$custom: #18188e; $custom-light: #6e58b0; $custom-dark: #000000;
JSON
{
"hex": "#18188e",
"rgb": {
"r": 24,
"g": 24,
"b": 142
},
"hsl": {
"h": 240,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.32215,
"c": 0.18264,
"h": 269.9
},
"luminance": 0.028
}Semantic roles & 50–950 ramp
primary
#18188E
secondary
#C0C042
accent
#EE3AEE
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880