#172D5F#172D5F
#172D5F is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.0% C 0.093 H 263.9°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).
Color values
| HEX | #172D5F |
|---|---|
| RGB | rgb(23, 45, 95) |
| HSL | hsl(222, 61%, 23%) |
| HSV | hsv(222, 76%, 37%) |
| CMYK | cmyk(75.8%, 52.6%, 0%, 62.7%) |
| CIE-LAB | lab(19.58, 10.70, -32.38) |
| CIE-LCH | lch(19.58, 34.10, 288.28°) |
| OKLab | oklab(31.04% -0.0099 -0.0929) |
| OKLCH | oklch(31.04% 0.093 263.9) |
| XYZ | xyz(3.3566, 2.8848, 11.2042) |
| Luminance | 0.0289 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.47
Navy Blue
#1B2A4A
ΔE00 4.45
Marine Blue
#01386A
ΔE00 5.48
Navy (survey)
#01153E
ΔE00 7.94
Darkish Blue
#014182
ΔE00 8.28
Twilight Blue
#0A437A
ΔE00 8.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172D5F #5F4917
analogous
#17515F #172D5F #25175F
triadic
#172D5F #5F172D #2D5F17
tetradic
#172D5F #5F1751 #5F4917 #175F25
square
#172D5F #5F1751 #5F4917 #175F25
split-complementary
#172D5F #5F2517 #515F17
monochromatic
#060C19 #0B162E #172D5F #234490 #2F5CC2
Accessibility & contrast
On white
13.32
#172D5F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#172D5F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172D5F
13.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172D5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172D5F | 1.00 | 13.32 | 1.58 | 13.32 |
| #FFFFFF | 13.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#113361
Deuteranopia (green-blind)
#002C5E
Tritanopia (blue-blind)
#003941
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #172d5f; /* rgb */ color: rgb(23, 45, 95); /* oklch */ color: oklch(31.0% 0.093 263.9);
Tailwind
colors: {
custom: {
50: '#5f658d',
500: '#172d5f',
950: '#000000',
},
}SCSS
$custom: #172d5f; $custom-light: #5f658d; $custom-dark: #000000;
JSON
{
"hex": "#172d5f",
"rgb": {
"r": 23,
"g": 45,
"b": 95
},
"hsl": {
"h": 221.667,
"s": 61.017,
"l": 23.137
},
"oklch": {
"l": 0.31039,
"c": 0.09348,
"h": 263.9
},
"luminance": 0.02885
}Semantic roles & 50–950 ramp
primary
#172D5F
secondary
#967A3C
accent
#B344E4
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D