#172A53#172A53
#172A53 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.4% C 0.079 H 263.6°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).
Color values
| HEX | #172A53 |
|---|---|
| RGB | rgb(23, 42, 83) |
| HSL | hsl(221, 57%, 21%) |
| HSV | hsv(221, 72%, 33%) |
| CMYK | cmyk(72.3%, 49.4%, 0%, 67.5%) |
| CIE-LAB | lab(17.75, 7.89, -27.33) |
| CIE-LCH | lch(17.75, 28.45, 286.09°) |
| OKLab | oklab(29.36% -0.0088 -0.0781) |
| OKLCH | oklch(29.36% 0.079 263.6) |
| XYZ | xyz(2.7421, 2.4624, 8.5127) |
| Luminance | 0.0246 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 2.43
Marine
#042E60
ΔE00 3.57
Navy (survey)
#01153E
ΔE00 6.57
Marine Blue
#01386A
ΔE00 6.67
Navy Blue (survey)
#001146
ΔE00 8.04
Midnight Blue
#191970
ΔE00 9.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172A53 #534017
analogous
#174853 #172A53 #221753
triadic
#172A53 #53172A #2A5317
tetradic
#172A53 #531748 #534017 #175322
square
#172A53 #531748 #534017 #175322
split-complementary
#172A53 #532217 #485317
monochromatic
#070C18 #0A1223 #172A53 #244283 #325AB3
Accessibility & contrast
On white
14.07
#172A53 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#172A53 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172A53
14.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172A53 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172A53 | 1.00 | 14.07 | 1.49 | 14.07 |
| #FFFFFF | 14.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#162E55
Deuteranopia (green-blind)
#0B2952
Tritanopia (blue-blind)
#00333A
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #172a53; /* rgb */ color: rgb(23, 42, 83); /* oklch */ color: oklch(29.4% 0.079 263.6);
Tailwind
colors: {
custom: {
50: '#5c6384',
500: '#172a53',
950: '#000000',
},
}SCSS
$custom: #172a53; $custom-light: #5c6384; $custom-dark: #000000;
JSON
{
"hex": "#172a53",
"rgb": {
"r": 23,
"g": 42,
"b": 83
},
"hsl": {
"h": 221,
"s": 56.604,
"l": 20.784
},
"oklch": {
"l": 0.29359,
"c": 0.07864,
"h": 263.6
},
"luminance": 0.02463
}Semantic roles & 50–950 ramp
primary
#172A53
secondary
#8A713C
accent
#B048E0
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C