#172F5C#172F5C
#172F5C is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.3% C 0.086 H 261.7°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).
Color values
| HEX | #172F5C |
|---|---|
| RGB | rgb(23, 47, 92) |
| HSL | hsl(219, 60%, 23%) |
| HSV | hsv(219, 75%, 36%) |
| CMYK | cmyk(75%, 48.9%, 0%, 63.9%) |
| CIE-LAB | lab(19.99, 7.98, -29.73) |
| CIE-LCH | lch(19.99, 30.78, 285.03°) |
| OKLab | oklab(31.29% -0.0125 -0.0851) |
| OKLCH | oklch(31.29% 0.086 261.7) |
| XYZ | xyz(3.3009, 2.9876, 10.5258) |
| Luminance | 0.0299 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.08
Navy Blue
#1B2A4A
ΔE00 3.86
Marine Blue
#01386A
ΔE00 4.77
Darkish Blue
#014182
ΔE00 7.85
Twilight Blue
#0A437A
ΔE00 7.94
Navy (survey)
#01153E
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172F5C #5C4417
analogous
#17525C #172F5C #21175C
triadic
#172F5C #5C172F #2F5C17
tetradic
#172F5C #5C1752 #5C4417 #175C21
square
#172F5C #5C1752 #5C4417 #175C21
split-complementary
#172F5C #5C2117 #525C17
monochromatic
#060D18 #0B162B #172F5C #23488D #2F61BE
Accessibility & contrast
On white
13.14
#172F5C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#172F5C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172F5C
13.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172F5C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172F5C | 1.00 | 13.14 | 1.60 | 13.14 |
| #FFFFFF | 13.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#18345E
Deuteranopia (green-blind)
#0B2D5B
Tritanopia (blue-blind)
#003941
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #172f5c; /* rgb */ color: rgb(23, 47, 92); /* oklch */ color: oklch(31.3% 0.086 261.7);
Tailwind
colors: {
custom: {
50: '#5e678a',
500: '#172f5c',
950: '#000000',
},
}SCSS
$custom: #172f5c; $custom-light: #5e678a; $custom-dark: #000000;
JSON
{
"hex": "#172f5c",
"rgb": {
"r": 23,
"g": 47,
"b": 92
},
"hsl": {
"h": 219.13,
"s": 60,
"l": 22.549
},
"oklch": {
"l": 0.31289,
"c": 0.08602,
"h": 261.7
},
"luminance": 0.02988
}Semantic roles & 50–950 ramp
primary
#172F5C
secondary
#93753C
accent
#AC45E3
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D