#172F55#172F55
#172F55 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.8% C 0.075 H 259.2°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).
Color values
| HEX | #172F55 |
|---|---|
| RGB | rgb(23, 47, 85) |
| HSL | hsl(217, 57%, 21%) |
| HSV | hsv(217, 73%, 33%) |
| CMYK | cmyk(72.9%, 44.7%, 0%, 66.7%) |
| CIE-LAB | lab(19.52, 5.07, -25.84) |
| CIE-LCH | lch(19.52, 26.34, 281.11°) |
| OKLab | oklab(30.77% -0.014 -0.0737) |
| OKLCH | oklch(30.77% 0.075 259.2) |
| XYZ | xyz(3.0090, 2.8708, 8.9881) |
| Luminance | 0.0287 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.72
Navy Blue
#1B2A4A
ΔE00 2.85
Marine Blue
#01386A
ΔE00 4.93
Twilight Blue
#0A437A
ΔE00 8.17
Darkish Blue
#014182
ΔE00 8.32
Navy (survey)
#01153E
ΔE00 8.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172F55 #553D17
analogous
#174E55 #172F55 #1E1755
triadic
#172F55 #55172F #2F5517
tetradic
#172F55 #55174E #553D17 #17551E
square
#172F55 #55174E #553D17 #17551E
split-complementary
#172F55 #551E17 #4E5517
monochromatic
#070D18 #0A1425 #172F55 #244A85 #3164B5
Accessibility & contrast
On white
13.34
#172F55 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#172F55 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172F55
13.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172F55 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172F55 | 1.00 | 13.34 | 1.57 | 13.34 |
| #FFFFFF | 13.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D3256
Deuteranopia (green-blind)
#142D54
Tritanopia (blue-blind)
#00383D
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #172f55; /* rgb */ color: rgb(23, 47, 85); /* oklch */ color: oklch(30.8% 0.075 259.2);
Tailwind
colors: {
custom: {
50: '#5c6785',
500: '#172f55',
950: '#000000',
},
}SCSS
$custom: #172f55; $custom-light: #5c6785; $custom-dark: #000000;
JSON
{
"hex": "#172f55",
"rgb": {
"r": 23,
"g": 47,
"b": 85
},
"hsl": {
"h": 216.774,
"s": 57.407,
"l": 21.176
},
"oklch": {
"l": 0.30769,
"c": 0.07501,
"h": 259.2
},
"luminance": 0.02871
}Semantic roles & 50–950 ramp
primary
#172F55
secondary
#8C6D3C
accent
#A547E1
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C