#172189#172189
#172189 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.168 H 269.0°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).
Color values
| HEX | #172189 |
|---|---|
| RGB | rgb(23, 33, 137) |
| HSL | hsl(235, 71%, 31%) |
| HSV | hsv(235, 83%, 54%) |
| CMYK | cmyk(83.2%, 75.9%, 0%, 46.3%) |
| CIE-LAB | lab(20.34, 35.69, -58.10) |
| CIE-LCH | lch(20.34, 68.19, 301.56°) |
| OKLab | oklab(32.82% -0.0029 -0.1683) |
| OKLCH | oklch(32.82% 0.168 269) |
| XYZ | xyz(5.4110, 3.0754, 23.9705) |
| Luminance | 0.0308 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.81
Midnight Blue
#191970
ΔE00 4.12
Cobalt Blue
#030AA7
ΔE00 5.72
Darkblue
#00008B
ΔE00 5.99
Royal Blue (survey)
#0504AA
ΔE00 6.34
Navy
#000080
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172189 #897F17
analogous
#175A89 #172189 #461789
triadic
#172189 #891721 #218917
tetradic
#172189 #89175A #897F17 #178946
square
#172189 #89175A #897F17 #178946
split-complementary
#172189 #894617 #5A8917
monochromatic
#050820 #0E1455 #172189 #202EBD #3C4ADE
Accessibility & contrast
On white
13.00
#172189 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#172189 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172189
13.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172189 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172189 | 1.00 | 13.00 | 1.62 | 13.00 |
| #FFFFFF | 13.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.00 | 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: #172189; /* rgb */ color: rgb(23, 33, 137); /* oklch */ color: oklch(32.8% 0.168 269.0);
Tailwind
colors: {
custom: {
50: '#6b5dad',
500: '#172189',
950: '#000000',
},
}SCSS
$custom: #172189; $custom-light: #6b5dad; $custom-dark: #000000;
JSON
{
"hex": "#172189",
"rgb": {
"r": 23,
"g": 33,
"b": 137
},
"hsl": {
"h": 234.737,
"s": 71.25,
"l": 31.373
},
"oklch": {
"l": 0.32816,
"c": 0.16838,
"h": 269
},
"luminance": 0.03076
}Semantic roles & 50–950 ramp
primary
#172189
secondary
#BDB23F
accent
#DE3AEE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F