#172D4F#172D4F
#172D4F is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.8% C 0.068 H 258.8°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).
Color values
| HEX | #172D4F |
|---|---|
| RGB | rgb(23, 45, 79) |
| HSL | hsl(216, 55%, 20%) |
| HSV | hsv(216, 71%, 31%) |
| CMYK | cmyk(70.9%, 43%, 0%, 69%) |
| CIE-LAB | lab(18.47, 4.04, -23.49) |
| CIE-LCH | lch(18.47, 23.84, 279.77°) |
| OKLab | oklab(29.83% -0.0132 -0.0668) |
| OKLCH | oklch(29.83% 0.068 258.8) |
| XYZ | xyz(2.7025, 2.6232, 7.7595) |
| Luminance | 0.0262 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 1.99
Marine
#042E60
ΔE00 3.65
Marine Blue
#01386A
ΔE00 5.86
Navy (survey)
#01153E
ΔE00 7.90
Dark
#1B2431
ΔE00 8.57
Twilight Blue
#0A437A
ΔE00 9.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172D4F #4F3917
analogous
#17494F #172D4F #1D174F
triadic
#172D4F #4F172D #2D4F17
tetradic
#172D4F #4F1749 #4F3917 #174F1D
square
#172D4F #4F1749 #4F3917 #174F1D
split-complementary
#172D4F #4F1D17 #494F17
monochromatic
#070D18 #091220 #172D4F #25487E #3363AE
Accessibility & contrast
On white
13.77
#172D4F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#172D4F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172D4F
13.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172D4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172D4F | 1.00 | 13.77 | 1.52 | 13.77 |
| #FFFFFF | 13.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E3050
Deuteranopia (green-blind)
#162B4E
Tritanopia (blue-blind)
#00353A
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #172d4f; /* rgb */ color: rgb(23, 45, 79); /* oklch */ color: oklch(29.8% 0.068 258.8);
Tailwind
colors: {
custom: {
50: '#5b6580',
500: '#172d4f',
950: '#000000',
},
}SCSS
$custom: #172d4f; $custom-light: #5b6580; $custom-dark: #000000;
JSON
{
"hex": "#172d4f",
"rgb": {
"r": 23,
"g": 45,
"b": 79
},
"hsl": {
"h": 216.429,
"s": 54.902,
"l": 20
},
"oklch": {
"l": 0.29827,
"c": 0.06812,
"h": 258.8
},
"luminance": 0.02623
}Semantic roles & 50–950 ramp
primary
#172D4F
secondary
#86693C
accent
#A44ADE
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C