#182189#182189
#182189 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.168 H 269.3°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).
Color values
| HEX | #182189 |
|---|---|
| RGB | rgb(24, 33, 137) |
| HSL | hsl(235, 70%, 32%) |
| HSV | hsv(235, 82%, 54%) |
| CMYK | cmyk(82.5%, 75.9%, 0%, 46.3%) |
| CIE-LAB | lab(20.39, 35.77, -58.02) |
| CIE-LCH | lch(20.39, 68.16, 301.65°) |
| OKLab | oklab(32.86% -0.0019 -0.1681) |
| OKLCH | oklch(32.86% 0.168 269.3) |
| XYZ | xyz(5.4344, 3.0874, 23.9716) |
| Luminance | 0.0309 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.80
Midnight Blue
#191970
ΔE00 4.11
Cobalt Blue
#030AA7
ΔE00 5.71
Darkblue
#00008B
ΔE00 5.98
Royal Blue (survey)
#0504AA
ΔE00 6.33
Navy
#000080
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#182189 #898018
analogous
#185A89 #182189 #481889
triadic
#182189 #891821 #218918
tetradic
#182189 #89185A #898018 #188948
square
#182189 #89185A #898018 #188948
split-complementary
#182189 #894818 #5A8918
monochromatic
#060821 #0F1455 #182189 #212EBD #3E4BDD
Accessibility & contrast
On white
12.98
#182189 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#182189 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #182189
12.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##182189 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##182189 | 1.00 | 12.98 | 1.62 | 12.98 |
| #FFFFFF | 12.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00378C
Deuteranopia (green-blind)
#002B87
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #182189; /* rgb */ color: rgb(24, 33, 137); /* oklch */ color: oklch(32.9% 0.168 269.3);
Tailwind
colors: {
custom: {
50: '#6c5dad',
500: '#182189',
950: '#000000',
},
}SCSS
$custom: #182189; $custom-light: #6c5dad; $custom-dark: #000000;
JSON
{
"hex": "#182189",
"rgb": {
"r": 24,
"g": 33,
"b": 137
},
"hsl": {
"h": 235.221,
"s": 70.186,
"l": 31.569
},
"oklch": {
"l": 0.32863,
"c": 0.16811,
"h": 269.3
},
"luminance": 0.03088
}Semantic roles & 50–950 ramp
primary
#182189
secondary
#BDB340
accent
#DF3BED
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F