#172180#172180
#172180 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.8% C 0.157 H 269.4°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).
Color values
| HEX | #172180 |
|---|---|
| RGB | rgb(23, 33, 128) |
| HSL | hsl(234, 70%, 30%) |
| HSV | hsv(234, 82%, 50%) |
| CMYK | cmyk(82%, 74.2%, 0%, 49.8%) |
| CIE-LAB | lab(19.34, 32.38, -54.09) |
| CIE-LCH | lch(19.34, 63.04, 300.91°) |
| OKLab | oklab(31.8% -0.0017 -0.1567) |
| OKLCH | oklch(31.8% 0.157 269.4) |
| XYZ | xyz(4.7922, 2.8278, 20.7112) |
| Luminance | 0.0283 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.04
Royal
#0C1793
ΔE00 3.88
Dark Royal Blue
#02066F
ΔE00 6.25
Darkblue
#00008B
ΔE00 6.48
Navy
#000080
ΔE00 6.56
Deep Blue
#040273
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172180 #807617
analogous
#175580 #172180 #421780
triadic
#172180 #801721 #218017
tetradic
#172180 #801755 #807617 #178042
square
#172180 #801755 #807617 #178042
split-complementary
#172180 #804217 #558017
monochromatic
#05071A #0E144C #172180 #202EB4 #3646DB
Accessibility & contrast
On white
13.41
#172180 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#172180 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172180
13.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172180 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172180 | 1.00 | 13.41 | 1.57 | 13.41 |
| #FFFFFF | 13.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003483
Deuteranopia (green-blind)
#002A7E
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #172180; /* rgb */ color: rgb(23, 33, 128); /* oklch */ color: oklch(31.8% 0.157 269.4);
Tailwind
colors: {
custom: {
50: '#695da6',
500: '#172180',
950: '#000000',
},
}SCSS
$custom: #172180; $custom-light: #695da6; $custom-dark: #000000;
JSON
{
"hex": "#172180",
"rgb": {
"r": 23,
"g": 33,
"b": 128
},
"hsl": {
"h": 234.286,
"s": 69.536,
"l": 29.608
},
"oklch": {
"l": 0.31801,
"c": 0.15669,
"h": 269.4
},
"luminance": 0.02828
}Semantic roles & 50–950 ramp
primary
#172180
secondary
#B4A93E
accent
#DB3BEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F