#172F60#172F60
#172F60 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.6% C 0.092 H 262.7°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).
Color values
| HEX | #172F60 |
|---|---|
| RGB | rgb(23, 47, 96) |
| HSL | hsl(220, 61%, 23%) |
| HSV | hsv(220, 76%, 38%) |
| CMYK | cmyk(76%, 51%, 0%, 62.4%) |
| CIE-LAB | lab(20.28, 9.65, -31.91) |
| CIE-LCH | lch(20.28, 33.34, 286.84°) |
| OKLab | oklab(31.6% -0.0117 -0.0915) |
| OKLCH | oklch(31.6% 0.092 262.7) |
| XYZ | xyz(3.4804, 3.0594, 11.4712) |
| Luminance | 0.0306 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.06
Navy Blue
#1B2A4A
ΔE00 4.54
Marine Blue
#01386A
ΔE00 4.78
Darkish Blue
#014182
ΔE00 7.62
Twilight Blue
#0A437A
ΔE00 7.85
Navy (survey)
#01153E
ΔE00 8.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172F60 #604817
analogous
#175360 #172F60 #231760
triadic
#172F60 #60172F #2F6017
tetradic
#172F60 #601753 #604817 #176023
square
#172F60 #601753 #604817 #176023
split-complementary
#172F60 #602317 #536017
monochromatic
#060C19 #0B172F #172F60 #234791 #2F5FC3
Accessibility & contrast
On white
13.03
#172F60 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#172F60 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172F60
13.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172F60 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172F60 | 1.00 | 13.03 | 1.61 | 13.03 |
| #FFFFFF | 13.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#153462
Deuteranopia (green-blind)
#032E5F
Tritanopia (blue-blind)
#003B42
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #172f60; /* rgb */ color: rgb(23, 47, 96); /* oklch */ color: oklch(31.6% 0.092 262.7);
Tailwind
colors: {
custom: {
50: '#5f678d',
500: '#172f60',
950: '#000000',
},
}SCSS
$custom: #172f60; $custom-light: #5f678d; $custom-dark: #000000;
JSON
{
"hex": "#172f60",
"rgb": {
"r": 23,
"g": 47,
"b": 96
},
"hsl": {
"h": 220.274,
"s": 61.345,
"l": 23.333
},
"oklch": {
"l": 0.31601,
"c": 0.09226,
"h": 262.7
},
"luminance": 0.0306
}Semantic roles & 50–950 ramp
primary
#172F60
secondary
#97793C
accent
#AF43E4
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D