#172380#172380
#172380 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.1% C 0.154 H 269.0°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).
Color values
| HEX | #172380 |
|---|---|
| RGB | rgb(23, 35, 128) |
| HSL | hsl(233, 70%, 30%) |
| HSV | hsv(233, 82%, 50%) |
| CMYK | cmyk(82%, 72.7%, 0%, 49.8%) |
| CIE-LAB | lab(19.81, 31.09, -53.31) |
| CIE-LCH | lch(19.81, 61.72, 300.25°) |
| OKLab | oklab(32.14% -0.0026 -0.1544) |
| OKLCH | oklch(32.14% 0.154 269) |
| XYZ | xyz(4.8493, 2.9422, 20.7302) |
| Luminance | 0.0294 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.41
Royal
#0C1793
ΔE00 4.32
Dark Royal Blue
#02066F
ΔE00 6.78
Darkblue
#00008B
ΔE00 7.05
Navy
#000080
ΔE00 7.14
Deep Blue
#040273
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172380 #807417
analogous
#175880 #172380 #401780
triadic
#172380 #801723 #238017
tetradic
#172380 #801758 #807417 #178040
square
#172380 #801758 #807417 #178040
split-complementary
#172380 #804017 #588017
monochromatic
#05071A #0E154C #172380 #2031B4 #3649DB
Accessibility & contrast
On white
13.22
#172380 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#172380 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172380
13.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172380 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172380 | 1.00 | 13.22 | 1.59 | 13.22 |
| #FFFFFF | 13.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003583
Deuteranopia (green-blind)
#002B7E
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #172380; /* rgb */ color: rgb(23, 35, 128); /* oklch */ color: oklch(32.1% 0.154 269.0);
Tailwind
colors: {
custom: {
50: '#695ea6',
500: '#172380',
950: '#000000',
},
}SCSS
$custom: #172380; $custom-light: #695ea6; $custom-dark: #000000;
JSON
{
"hex": "#172380",
"rgb": {
"r": 23,
"g": 35,
"b": 128
},
"hsl": {
"h": 233.143,
"s": 69.536,
"l": 29.608
},
"oklch": {
"l": 0.3214,
"c": 0.15445,
"h": 269
},
"luminance": 0.02943
}Semantic roles & 50–950 ramp
primary
#172380
secondary
#B4A73E
accent
#D83BEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F