#172F54#172F54
#172F54 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.7% C 0.073 H 258.8°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).
Color values
| HEX | #172F54 |
|---|---|
| RGB | rgb(23, 47, 84) |
| HSL | hsl(216, 57%, 21%) |
| HSV | hsv(216, 73%, 33%) |
| CMYK | cmyk(72.6%, 44%, 0%, 67.1%) |
| CIE-LAB | lab(19.45, 4.66, -25.28) |
| CIE-LCH | lch(19.45, 25.71, 280.45°) |
| OKLab | oklab(30.7% -0.0142 -0.072) |
| OKLCH | oklch(30.7% 0.073 258.8) |
| XYZ | xyz(2.9695, 2.8550, 8.7804) |
| Luminance | 0.0285 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 2.78
Marine
#042E60
ΔE00 2.86
Marine Blue
#01386A
ΔE00 4.98
Twilight Blue
#0A437A
ΔE00 8.21
Darkish Blue
#014182
ΔE00 8.39
Navy (survey)
#01153E
ΔE00 8.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172F54 #543C17
analogous
#174D54 #172F54 #1D1754
triadic
#172F54 #54172F #2F5417
tetradic
#172F54 #54174D #543C17 #17541D
square
#172F54 #54174D #543C17 #17541D
split-complementary
#172F54 #541D17 #4D5417
monochromatic
#070D18 #0A1424 #172F54 #244A84 #3165B4
Accessibility & contrast
On white
13.37
#172F54 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#172F54 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172F54
13.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172F54 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172F54 | 1.00 | 13.37 | 1.57 | 13.37 |
| #FFFFFF | 13.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E3255
Deuteranopia (green-blind)
#152D53
Tritanopia (blue-blind)
#00383D
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #172f54; /* rgb */ color: rgb(23, 47, 84); /* oklch */ color: oklch(30.7% 0.073 258.8);
Tailwind
colors: {
custom: {
50: '#5c6784',
500: '#172f54',
950: '#000000',
},
}SCSS
$custom: #172f54; $custom-light: #5c6784; $custom-dark: #000000;
JSON
{
"hex": "#172f54",
"rgb": {
"r": 23,
"g": 47,
"b": 84
},
"hsl": {
"h": 216.393,
"s": 57.009,
"l": 20.98
},
"oklch": {
"l": 0.30697,
"c": 0.07344,
"h": 258.8
},
"luminance": 0.02855
}Semantic roles & 50–950 ramp
primary
#172F54
secondary
#8B6C3C
accent
#A448E0
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C