#181890#181890
#181890 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.185 H 269.8°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).
Color values
| HEX | #181890 |
|---|---|
| RGB | rgb(24, 24, 144) |
| HSL | hsl(240, 71%, 33%) |
| HSV | hsv(240, 83%, 56%) |
| CMYK | cmyk(83.3%, 83.3%, 0%, 43.5%) |
| CIE-LAB | lab(19.48, 43.21, -63.91) |
| CIE-LCH | lch(19.48, 77.14, 304.06°) |
| OKLab | oklab(32.46% -0.0006 -0.185) |
| OKLCH | oklch(32.46% 0.185 269.8) |
| XYZ | xyz(5.7357, 2.8604, 26.6300) |
| Luminance | 0.0286 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 0.71
Cobalt Blue
#030AA7
ΔE00 3.52
Darkblue
#00008B
ΔE00 3.87
Royal Blue (survey)
#0504AA
ΔE00 4.10
Navy
#000080
ΔE00 4.69
Midnight Blue
#191970
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181890 #909018
analogous
#185490 #181890 #541890
triadic
#181890 #901818 #189018
tetradic
#181890 #901854 #909018 #189054
square
#181890 #901854 #909018 #189054
split-complementary
#181890 #905418 #549018
monochromatic
#070727 #0F0F5C #181890 #2121C4 #4343E0
Accessibility & contrast
On white
13.36
#181890 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#181890 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181890
13.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181890 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181890 | 1.00 | 13.36 | 1.57 | 13.36 |
| #FFFFFF | 13.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003593
Deuteranopia (green-blind)
#00298E
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #181890; /* rgb */ color: rgb(24, 24, 144); /* oklch */ color: oklch(32.5% 0.185 269.8);
Tailwind
colors: {
custom: {
50: '#6e58b2',
500: '#181890',
950: '#000000',
},
}SCSS
$custom: #181890; $custom-light: #6e58b2; $custom-dark: #000000;
JSON
{
"hex": "#181890",
"rgb": {
"r": 24,
"g": 24,
"b": 144
},
"hsl": {
"h": 240,
"s": 71.429,
"l": 32.941
},
"oklch": {
"l": 0.32462,
"c": 0.18504,
"h": 269.8
},
"luminance": 0.02861
}Semantic roles & 50–950 ramp
primary
#181890
secondary
#C0C043
accent
#EE3AEE
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880