#181189#181189
#181189 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.8% C 0.182 H 270.7°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).
Color values
| HEX | #181189 |
|---|---|
| RGB | rgb(24, 17, 137) |
| HSL | hsl(244, 78%, 30%) |
| HSV | hsv(244, 88%, 54%) |
| CMYK | cmyk(82.5%, 87.6%, 0%, 46.3%) |
| CIE-LAB | lab(17.46, 44.24, -62.88) |
| CIE-LCH | lch(17.46, 76.88, 305.13°) |
| OKLab | oklab(30.81% 0.0023 -0.1819) |
| OKLCH | oklch(30.81% 0.182 270.7) |
| XYZ | xyz(5.0910, 2.4006, 23.8571) |
| Luminance | 0.0240 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.88
Darkblue
#00008B
ΔE00 2.57
Navy
#000080
ΔE00 3.14
Cobalt Blue
#030AA7
ΔE00 4.01
Deep Blue
#040273
ΔE00 4.21
Indigo (survey)
#380282
ΔE00 4.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181189 #828911
analogous
#114689 #181189 #541189
triadic
#181189 #891811 #118918
tetradic
#181189 #891146 #828911 #118954
square
#181189 #891146 #828911 #118954
split-complementary
#181189 #895411 #468911
monochromatic
#05031C #0E0A53 #181189 #2218BF #3A2FE5
Accessibility & contrast
On white
14.19
#181189 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#181189 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181189
14.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181189 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181189 | 1.00 | 14.19 | 1.48 | 14.19 |
| #FFFFFF | 14.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00318C
Deuteranopia (green-blind)
#002587
Tritanopia (blue-blind)
#003950
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #181189; /* rgb */ color: rgb(24, 17, 137); /* oklch */ color: oklch(30.8% 0.182 270.7);
Tailwind
colors: {
custom: {
50: '#6d54ad',
500: '#181189',
950: '#000000',
},
}SCSS
$custom: #181189; $custom-light: #6d54ad; $custom-dark: #000000;
JSON
{
"hex": "#181189",
"rgb": {
"r": 24,
"g": 17,
"b": 137
},
"hsl": {
"h": 243.5,
"s": 77.922,
"l": 30.196
},
"oklch": {
"l": 0.30814,
"c": 0.18192,
"h": 270.7
},
"luminance": 0.02401
}Semantic roles & 50–950 ramp
primary
#181189
secondary
#B6BE38
accent
#F433E9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F