#181989#181989
#181989 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.176 H 270.2°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).
Color values
| HEX | #181989 |
|---|---|
| RGB | rgb(24, 25, 137) |
| HSL | hsl(239, 70%, 32%) |
| HSV | hsv(239, 82%, 54%) |
| CMYK | cmyk(82.5%, 81.8%, 0%, 46.3%) |
| CIE-LAB | lab(18.78, 40.37, -60.69) |
| CIE-LCH | lch(18.78, 72.89, 303.63°) |
| OKLab | oklab(31.73% 0.0006 -0.1757) |
| OKLCH | oklch(31.73% 0.176 270.2) |
| XYZ | xyz(5.2381, 2.6950, 23.9062) |
| Luminance | 0.0270 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.53
Midnight Blue
#191970
ΔE00 3.93
Darkblue
#00008B
ΔE00 4.06
Cobalt Blue
#030AA7
ΔE00 4.52
Navy
#000080
ΔE00 4.53
Royal Blue (survey)
#0504AA
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181989 #898818
analogous
#185289 #181989 #501889
triadic
#181989 #891819 #198918
tetradic
#181989 #891852 #898818 #188950
square
#181989 #891852 #898818 #188950
split-complementary
#181989 #895018 #528918
monochromatic
#060621 #0F0F55 #181989 #2123BD #3E40DD
Accessibility & contrast
On white
13.64
#181989 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#181989 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181989
13.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181989 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181989 | 1.00 | 13.64 | 1.54 | 13.64 |
| #FFFFFF | 13.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00338C
Deuteranopia (green-blind)
#002887
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #181989; /* rgb */ color: rgb(24, 25, 137); /* oklch */ color: oklch(31.7% 0.176 270.2);
Tailwind
colors: {
custom: {
50: '#6c58ad',
500: '#181989',
950: '#000000',
},
}SCSS
$custom: #181989; $custom-light: #6c58ad; $custom-dark: #000000;
JSON
{
"hex": "#181989",
"rgb": {
"r": 24,
"g": 25,
"b": 137
},
"hsl": {
"h": 239.469,
"s": 70.186,
"l": 31.569
},
"oklch": {
"l": 0.31725,
"c": 0.17575,
"h": 270.2
},
"luminance": 0.02696
}Semantic roles & 50–950 ramp
primary
#181989
secondary
#BDBB40
accent
#EB3BED
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F