#181990#181990
#181990 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.6% C 0.184 H 269.7°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).
Color values
| HEX | #181990 |
|---|---|
| RGB | rgb(24, 25, 144) |
| HSL | hsl(240, 71%, 33%) |
| HSV | hsv(240, 83%, 56%) |
| CMYK | cmyk(83.3%, 82.6%, 0%, 43.5%) |
| CIE-LAB | lab(19.65, 42.70, -63.62) |
| CIE-LCH | lch(19.65, 76.62, 303.87°) |
| OKLab | oklab(32.58% -0.0009 -0.1842) |
| OKLCH | oklch(32.58% 0.184 269.7) |
| XYZ | xyz(5.7566, 2.9024, 26.6370) |
| Luminance | 0.0290 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 0.77
Cobalt Blue
#030AA7
ΔE00 3.63
Darkblue
#00008B
ΔE00 4.07
Royal Blue (survey)
#0504AA
ΔE00 4.22
Navy
#000080
ΔE00 4.86
Midnight Blue
#191970
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181990 #908F18
analogous
#185590 #181990 #531890
triadic
#181990 #901819 #199018
tetradic
#181990 #901855 #908F18 #189053
square
#181990 #901855 #908F18 #189053
split-complementary
#181990 #905318 #559018
monochromatic
#070727 #0F105C #181990 #2122C4 #4344E0
Accessibility & contrast
On white
13.29
#181990 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#181990 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181990
13.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181990 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181990 | 1.00 | 13.29 | 1.58 | 13.29 |
| #FFFFFF | 13.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003693
Deuteranopia (green-blind)
#00298E
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #181990; /* rgb */ color: rgb(24, 25, 144); /* oklch */ color: oklch(32.6% 0.184 269.7);
Tailwind
colors: {
custom: {
50: '#6e59b2',
500: '#181990',
950: '#000000',
},
}SCSS
$custom: #181990; $custom-light: #6e59b2; $custom-dark: #000000;
JSON
{
"hex": "#181990",
"rgb": {
"r": 24,
"g": 25,
"b": 144
},
"hsl": {
"h": 239.5,
"s": 71.429,
"l": 32.941
},
"oklch": {
"l": 0.32583,
"c": 0.18423,
"h": 269.7
},
"luminance": 0.02903
}Semantic roles & 50–950 ramp
primary
#181990
secondary
#C0BF43
accent
#ED3AEE
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980