#181889#181889
#181889 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.6% C 0.177 H 270.3°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).
Color values
| HEX | #181889 |
|---|---|
| RGB | rgb(24, 24, 137) |
| HSL | hsl(240, 70%, 32%) |
| HSV | hsv(240, 82%, 54%) |
| CMYK | cmyk(82.5%, 82.5%, 0%, 46.3%) |
| CIE-LAB | lab(18.60, 40.90, -60.99) |
| CIE-LCH | lch(18.60, 73.44, 303.84°) |
| OKLab | oklab(31.6% 0.0009 -0.1766) |
| OKLCH | oklch(31.6% 0.177 270.3) |
| XYZ | xyz(5.2171, 2.6530, 23.8992) |
| Luminance | 0.0265 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.48
Darkblue
#00008B
ΔE00 3.85
Midnight Blue
#191970
ΔE00 3.97
Navy
#000080
ΔE00 4.33
Cobalt Blue
#030AA7
ΔE00 4.42
Royal Blue (survey)
#0504AA
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181889 #898918
analogous
#185189 #181889 #511889
triadic
#181889 #891818 #188918
tetradic
#181889 #891851 #898918 #188951
square
#181889 #891851 #898918 #188951
split-complementary
#181889 #895118 #518918
monochromatic
#060621 #0F0F55 #181889 #2121BD #3E3EDD
Accessibility & contrast
On white
13.72
#181889 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#181889 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181889
13.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181889 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181889 | 1.00 | 13.72 | 1.53 | 13.72 |
| #FFFFFF | 13.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00338C
Deuteranopia (green-blind)
#002787
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #181889; /* rgb */ color: rgb(24, 24, 137); /* oklch */ color: oklch(31.6% 0.177 270.3);
Tailwind
colors: {
custom: {
50: '#6d58ad',
500: '#181889',
950: '#000000',
},
}SCSS
$custom: #181889; $custom-light: #6d58ad; $custom-dark: #000000;
JSON
{
"hex": "#181889",
"rgb": {
"r": 24,
"g": 24,
"b": 137
},
"hsl": {
"h": 240,
"s": 70.186,
"l": 31.569
},
"oklch": {
"l": 0.31598,
"c": 0.1766,
"h": 270.3
},
"luminance": 0.02654
}Semantic roles & 50–950 ramp
primary
#181889
secondary
#BDBD40
accent
#ED3BED
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F