#172A4F#172A4F
#172A4F is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.1% C 0.072 H 262.3°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).
Color values
| HEX | #172A4F |
|---|---|
| RGB | rgb(23, 42, 79) |
| HSL | hsl(220, 55%, 20%) |
| HSV | hsv(220, 71%, 31%) |
| CMYK | cmyk(70.9%, 46.8%, 0%, 69%) |
| CIE-LAB | lab(17.47, 6.23, -25.08) |
| CIE-LCH | lch(17.47, 25.84, 283.95°) |
| OKLab | oklab(29.06% -0.0096 -0.0715) |
| OKLCH | oklch(29.06% 0.072 262.3) |
| XYZ | xyz(2.5921, 2.4024, 7.7227) |
| Luminance | 0.0240 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 1.53
Marine
#042E60
ΔE00 3.96
Navy (survey)
#01153E
ΔE00 6.65
Marine Blue
#01386A
ΔE00 6.82
Navy Blue (survey)
#001146
ΔE00 8.37
Dark
#1B2431
ΔE00 9.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172A4F #4F3C17
analogous
#17464F #172A4F #20174F
triadic
#172A4F #4F172A #2A4F17
tetradic
#172A4F #4F1746 #4F3C17 #174F20
square
#172A4F #4F1746 #4F3C17 #174F20
split-complementary
#172A4F #4F2017 #464F17
monochromatic
#070D18 #091120 #172A4F #25437E #335CAE
Accessibility & contrast
On white
14.18
#172A4F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#172A4F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172A4F
14.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172A4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172A4F | 1.00 | 14.18 | 1.48 | 14.18 |
| #FFFFFF | 14.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#192E50
Deuteranopia (green-blind)
#10284E
Tritanopia (blue-blind)
#003238
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #172a4f; /* rgb */ color: rgb(23, 42, 79); /* oklch */ color: oklch(29.1% 0.072 262.3);
Tailwind
colors: {
custom: {
50: '#5b6380',
500: '#172a4f',
950: '#000000',
},
}SCSS
$custom: #172a4f; $custom-light: #5b6380; $custom-dark: #000000;
JSON
{
"hex": "#172a4f",
"rgb": {
"r": 23,
"g": 42,
"b": 79
},
"hsl": {
"h": 219.643,
"s": 54.902,
"l": 20
},
"oklch": {
"l": 0.29056,
"c": 0.07217,
"h": 262.3
},
"luminance": 0.02403
}Semantic roles & 50–950 ramp
primary
#172A4F
secondary
#866D3C
accent
#AC4ADE
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C