#172281#172281
#172281 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.1% C 0.157 H 269.2°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).
Color values
| HEX | #172281 |
|---|---|
| RGB | rgb(23, 34, 129) |
| HSL | hsl(234, 70%, 30%) |
| HSV | hsv(234, 82%, 51%) |
| CMYK | cmyk(82.2%, 73.6%, 0%, 49.4%) |
| CIE-LAB | lab(19.68, 32.12, -54.16) |
| CIE-LCH | lch(19.68, 62.97, 300.67°) |
| OKLab | oklab(32.08% -0.0022 -0.1569) |
| OKLCH | oklch(32.08% 0.157 269.2) |
| XYZ | xyz(4.8865, 2.9106, 21.0689) |
| Luminance | 0.0291 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.31
Royal
#0C1793
ΔE00 3.96
Dark Royal Blue
#02066F
ΔE00 6.53
Darkblue
#00008B
ΔE00 6.69
Navy
#000080
ΔE00 6.81
Deep Blue
#040273
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172281 #817617
analogous
#175781 #172281 #411781
triadic
#172281 #811722 #228117
tetradic
#172281 #811757 #817617 #178141
square
#172281 #811757 #817617 #178141
split-complementary
#172281 #814117 #578117
monochromatic
#05071A #0E144D #172281 #2030B5 #3748DB
Accessibility & contrast
On white
13.27
#172281 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#172281 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172281
13.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172281 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172281 | 1.00 | 13.27 | 1.58 | 13.27 |
| #FFFFFF | 13.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003584
Deuteranopia (green-blind)
#002A7F
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #172281; /* rgb */ color: rgb(23, 34, 129); /* oklch */ color: oklch(32.1% 0.157 269.2);
Tailwind
colors: {
custom: {
50: '#695da7',
500: '#172281',
950: '#000000',
},
}SCSS
$custom: #172281; $custom-light: #695da7; $custom-dark: #000000;
JSON
{
"hex": "#172281",
"rgb": {
"r": 23,
"g": 34,
"b": 129
},
"hsl": {
"h": 233.774,
"s": 69.737,
"l": 29.804
},
"oklch": {
"l": 0.32079,
"c": 0.15691,
"h": 269.2
},
"luminance": 0.02911
}Semantic roles & 50–950 ramp
primary
#172281
secondary
#B5A93E
accent
#DA3BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#070410
muted
#7A797F