#172D54#172D54
#172D54 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.2% C 0.076 H 260.9°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).
Color values
| HEX | #172D54 |
|---|---|
| RGB | rgb(23, 45, 84) |
| HSL | hsl(218, 57%, 21%) |
| HSV | hsv(218, 73%, 33%) |
| CMYK | cmyk(72.6%, 46.4%, 0%, 67.1%) |
| CIE-LAB | lab(18.79, 6.11, -26.33) |
| CIE-LCH | lch(18.79, 27.03, 283.06°) |
| OKLab | oklab(30.19% -0.012 -0.0751) |
| OKLCH | oklch(30.19% 0.076 260.9) |
| XYZ | xyz(2.8914, 2.6987, 8.7543) |
| Luminance | 0.0270 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 2.43
Marine
#042E60
ΔE00 2.95
Marine Blue
#01386A
ΔE00 5.62
Navy (survey)
#01153E
ΔE00 7.62
Twilight Blue
#0A437A
ΔE00 8.88
Darkish Blue
#014182
ΔE00 8.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172D54 #543E17
analogous
#174B54 #172D54 #1F1754
triadic
#172D54 #54172D #2D5417
tetradic
#172D54 #54174B #543E17 #17541F
square
#172D54 #54174B #543E17 #17541F
split-complementary
#172D54 #541F17 #4B5417
monochromatic
#070D18 #0A1324 #172D54 #244784 #3160B4
Accessibility & contrast
On white
13.64
#172D54 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#172D54 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172D54
13.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172D54 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172D54 | 1.00 | 13.64 | 1.54 | 13.64 |
| #FFFFFF | 13.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B3156
Deuteranopia (green-blind)
#112B53
Tritanopia (blue-blind)
#00363C
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #172d54; /* rgb */ color: rgb(23, 45, 84); /* oklch */ color: oklch(30.2% 0.076 260.9);
Tailwind
colors: {
custom: {
50: '#5c6584',
500: '#172d54',
950: '#000000',
},
}SCSS
$custom: #172d54; $custom-light: #5c6584; $custom-dark: #000000;
JSON
{
"hex": "#172d54",
"rgb": {
"r": 23,
"g": 45,
"b": 84
},
"hsl": {
"h": 218.361,
"s": 57.009,
"l": 20.98
},
"oklch": {
"l": 0.30187,
"c": 0.0761,
"h": 260.9
},
"luminance": 0.02699
}Semantic roles & 50–950 ramp
primary
#172D54
secondary
#8B6E3C
accent
#A948E0
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C