#181589#181589
#181589 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.2% C 0.179 H 270.5°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).
Color values
| HEX | #181589 |
|---|---|
| RGB | rgb(24, 21, 137) |
| HSL | hsl(242, 73%, 31%) |
| HSV | hsv(242, 85%, 54%) |
| CMYK | cmyk(82.5%, 84.7%, 0%, 46.3%) |
| CIE-LAB | lab(18.08, 42.41, -61.85) |
| CIE-LCH | lch(18.08, 74.99, 304.44°) |
| OKLab | oklab(31.24% 0.0016 -0.179) |
| OKLCH | oklch(31.24% 0.179 270.5) |
| XYZ | xyz(5.1587, 2.5361, 23.8797) |
| Luminance | 0.0254 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.53
Darkblue
#00008B
ΔE00 3.25
Navy
#000080
ΔE00 3.77
Midnight Blue
#191970
ΔE00 4.15
Cobalt Blue
#030AA7
ΔE00 4.19
Deep Blue
#040273
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181589 #868915
analogous
#154C89 #181589 #521589
triadic
#181589 #891815 #158918
tetradic
#181589 #89154C #868915 #158952
square
#181589 #89154C #868915 #158952
split-complementary
#181589 #895215 #4C8915
monochromatic
#05051F #0F0D54 #181589 #211DBE #3C38E0
Accessibility & contrast
On white
13.93
#181589 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#181589 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181589
13.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181589 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181589 | 1.00 | 13.93 | 1.51 | 13.93 |
| #FFFFFF | 13.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00328C
Deuteranopia (green-blind)
#002687
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #181589; /* rgb */ color: rgb(24, 21, 137); /* oklch */ color: oklch(31.2% 0.179 270.5);
Tailwind
colors: {
custom: {
50: '#6d56ad',
500: '#181589',
950: '#000000',
},
}SCSS
$custom: #181589; $custom-light: #6d56ad; $custom-dark: #000000;
JSON
{
"hex": "#181589",
"rgb": {
"r": 24,
"g": 21,
"b": 137
},
"hsl": {
"h": 241.552,
"s": 73.418,
"l": 30.98
},
"oklch": {
"l": 0.3124,
"c": 0.17903,
"h": 270.5
},
"luminance": 0.02537
}Semantic roles & 50–950 ramp
primary
#181589
secondary
#BABD3D
accent
#F038EB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F