#181490#181490
#181490 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.0% C 0.188 H 270.0°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).
Color values
| HEX | #181490 |
|---|---|
| RGB | rgb(24, 20, 144) |
| HSL | hsl(242, 76%, 32%) |
| HSV | hsv(242, 86%, 56%) |
| CMYK | cmyk(83.3%, 86.1%, 0%, 43.5%) |
| CIE-LAB | lab(18.83, 45.10, -64.98) |
| CIE-LCH | lch(18.83, 79.10, 304.77°) |
| OKLab | oklab(32.02% 0.0001 -0.188) |
| OKLCH | oklch(32.02% 0.188 270) |
| XYZ | xyz(5.6592, 2.7075, 26.6045) |
| Luminance | 0.0271 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 0.95
Darkblue
#00008B
ΔE00 3.16
Cobalt Blue
#030AA7
ΔE00 3.19
Royal Blue (survey)
#0504AA
ΔE00 3.71
Navy
#000080
ΔE00 4.08
Ultramarine
#2000B1
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181490 #8C9014
analogous
#144E90 #181490 #561490
triadic
#181490 #901814 #149018
tetradic
#181490 #90144E #8C9014 #149056
square
#181490 #90144E #8C9014 #149056
split-complementary
#181490 #905614 #4E9014
monochromatic
#060525 #0F0D5A #181490 #211BC6 #403BE4
Accessibility & contrast
On white
13.62
#181490 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#181490 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181490
13.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181490 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181490 | 1.00 | 13.62 | 1.54 | 13.62 |
| #FFFFFF | 13.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003493
Deuteranopia (green-blind)
#00278E
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #181490; /* rgb */ color: rgb(24, 20, 144); /* oklch */ color: oklch(32.0% 0.188 270.0);
Tailwind
colors: {
custom: {
50: '#6f56b2',
500: '#181490',
950: '#000000',
},
}SCSS
$custom: #181490; $custom-light: #6f56b2; $custom-dark: #000000;
JSON
{
"hex": "#181490",
"rgb": {
"r": 24,
"g": 20,
"b": 144
},
"hsl": {
"h": 241.935,
"s": 75.61,
"l": 32.157
},
"oklch": {
"l": 0.32017,
"c": 0.18805,
"h": 270
},
"luminance": 0.02708
}Semantic roles & 50–950 ramp
primary
#181490
secondary
#BFC33D
accent
#F236EC
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880