#172E57#172E57
#172E57 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.7% C 0.080 H 261.0°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).
Color values
| HEX | #172E57 |
|---|---|
| RGB | rgb(23, 46, 87) |
| HSL | hsl(218, 58%, 22%) |
| HSV | hsv(218, 74%, 34%) |
| CMYK | cmyk(73.6%, 47.1%, 0%, 65.9%) |
| CIE-LAB | lab(19.32, 6.63, -27.49) |
| CIE-LCH | lch(19.32, 28.27, 283.55°) |
| OKLab | oklab(30.66% -0.0124 -0.0785) |
| OKLCH | oklch(30.66% 0.08 261) |
| XYZ | xyz(3.0500, 2.8240, 9.3993) |
| Luminance | 0.0282 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.53
Navy Blue
#1B2A4A
ΔE00 2.98
Marine Blue
#01386A
ΔE00 5.19
Navy (survey)
#01153E
ΔE00 7.95
Twilight Blue
#0A437A
ΔE00 8.43
Darkish Blue
#014182
ΔE00 8.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172E57 #574017
analogous
#174E57 #172E57 #201757
triadic
#172E57 #57172E #2E5717
tetradic
#172E57 #57174E #574017 #175720
square
#172E57 #57174E #574017 #175720
split-complementary
#172E57 #572017 #4E5717
monochromatic
#060D18 #0A1427 #172E57 #244887 #3161B8
Accessibility & contrast
On white
13.42
#172E57 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#172E57 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172E57
13.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172E57 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172E57 | 1.00 | 13.42 | 1.56 | 13.42 |
| #FFFFFF | 13.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A3259
Deuteranopia (green-blind)
#0F2C56
Tritanopia (blue-blind)
#00373E
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #172e57; /* rgb */ color: rgb(23, 46, 87); /* oklch */ color: oklch(30.7% 0.080 261.0);
Tailwind
colors: {
custom: {
50: '#5d6687',
500: '#172e57',
950: '#000000',
},
}SCSS
$custom: #172e57; $custom-light: #5d6687; $custom-dark: #000000;
JSON
{
"hex": "#172e57",
"rgb": {
"r": 23,
"g": 46,
"b": 87
},
"hsl": {
"h": 218.438,
"s": 58.182,
"l": 21.569
},
"oklch": {
"l": 0.30662,
"c": 0.07951,
"h": 261
},
"luminance": 0.02824
}Semantic roles & 50–950 ramp
primary
#172E57
secondary
#8E703C
accent
#AA46E1
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C