#181789#181789
#181789 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.5% C 0.177 H 270.4°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).
Color values
| HEX | #181789 |
|---|---|
| RGB | rgb(24, 23, 137) |
| HSL | hsl(241, 71%, 31%) |
| HSV | hsv(241, 83%, 54%) |
| CMYK | cmyk(82.5%, 83.2%, 0%, 46.3%) |
| CIE-LAB | lab(18.42, 41.41, -61.29) |
| CIE-LCH | lch(18.42, 73.97, 304.05°) |
| OKLab | oklab(31.48% 0.0011 -0.1774) |
| OKLCH | oklch(31.48% 0.177 270.4) |
| XYZ | xyz(5.1969, 2.6125, 23.8924) |
| Luminance | 0.0261 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.47
Darkblue
#00008B
ΔE00 3.64
Midnight Blue
#191970
ΔE00 4.02
Navy
#000080
ΔE00 4.13
Cobalt Blue
#030AA7
ΔE00 4.33
Royal Blue (survey)
#0504AA
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181789 #888917
analogous
#174F89 #181789 #511789
triadic
#181789 #891817 #178918
tetradic
#181789 #89174F #888917 #178951
square
#181789 #89174F #888917 #178951
split-complementary
#181789 #895117 #4F8917
monochromatic
#060520 #0F0E55 #181789 #2120BD #3E3CDE
Accessibility & contrast
On white
13.79
#181789 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#181789 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181789
13.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181789 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181789 | 1.00 | 13.79 | 1.52 | 13.79 |
| #FFFFFF | 13.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00338C
Deuteranopia (green-blind)
#002787
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #181789; /* rgb */ color: rgb(24, 23, 137); /* oklch */ color: oklch(31.5% 0.177 270.4);
Tailwind
colors: {
custom: {
50: '#6d57ad',
500: '#181789',
950: '#000000',
},
}SCSS
$custom: #181789; $custom-light: #6d57ad; $custom-dark: #000000;
JSON
{
"hex": "#181789",
"rgb": {
"r": 24,
"g": 23,
"b": 137
},
"hsl": {
"h": 240.526,
"s": 71.25,
"l": 31.373
},
"oklch": {
"l": 0.31475,
"c": 0.17743,
"h": 270.4
},
"luminance": 0.02613
}Semantic roles & 50–950 ramp
primary
#181789
secondary
#BCBD3F
accent
#EE3AEC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F