#172E72#172E72
#172E72 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 32.9% C 0.121 H 265.8°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).
Color values
| HEX | #172E72 |
|---|---|
| RGB | rgb(23, 46, 114) |
| HSL | hsl(225, 66%, 27%) |
| HSV | hsv(225, 80%, 45%) |
| CMYK | cmyk(79.8%, 59.6%, 0%, 55.3%) |
| CIE-LAB | lab(21.40, 17.88, -41.79) |
| CIE-LCH | lch(21.40, 45.46, 293.17°) |
| OKLab | oklab(32.9% -0.0089 -0.1206) |
| OKLCH | oklch(32.9% 0.121 265.8) |
| XYZ | xyz(4.3665, 3.3506, 16.3329) |
| Luminance | 0.0335 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.19
Marine Blue
#01386A
ΔE00 5.96
Midnight Blue
#191970
ΔE00 7.01
Darkish Blue
#014182
ΔE00 7.48
Navy Blue
#1B2A4A
ΔE00 7.50
Twilight Blue
#0A437A
ΔE00 8.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172E72 #725B17
analogous
#175C72 #172E72 #2E1772
triadic
#172E72 #72172E #2E7217
tetradic
#172E72 #72175C #725B17 #17722E
square
#172E72 #72175C #725B17 #17722E
split-complementary
#172E72 #722E17 #5C7217
monochromatic
#050A19 #0D193F #172E72 #2143A5 #2E59D5
Accessibility & contrast
On white
12.57
#172E72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#172E72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172E72
12.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172E72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172E72 | 1.00 | 12.57 | 1.67 | 12.57 |
| #FFFFFF | 12.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003874
Deuteranopia (green-blind)
#002F71
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #172e72; /* rgb */ color: rgb(23, 46, 114); /* oklch */ color: oklch(32.9% 0.121 265.8);
Tailwind
colors: {
custom: {
50: '#64669b',
500: '#172e72',
950: '#000000',
},
}SCSS
$custom: #172e72; $custom-light: #64669b; $custom-dark: #000000;
JSON
{
"hex": "#172e72",
"rgb": {
"r": 23,
"g": 46,
"b": 114
},
"hsl": {
"h": 224.835,
"s": 66.423,
"l": 26.863
},
"oklch": {
"l": 0.32898,
"c": 0.12093,
"h": 265.8
},
"luminance": 0.03351
}Semantic roles & 50–950 ramp
primary
#172E72
secondary
#A88D3D
accent
#BE3EE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E