#172E7E#172E7E
#172E7E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.0% C 0.138 H 266.4°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).
Color values
| HEX | #172E7E |
|---|---|
| RGB | rgb(23, 46, 126) |
| HSL | hsl(227, 69%, 29%) |
| HSV | hsv(227, 82%, 49%) |
| CMYK | cmyk(81.7%, 63.5%, 0%, 50.6%) |
| CIE-LAB | lab(22.45, 22.79, -47.72) |
| CIE-LCH | lch(22.45, 52.88, 295.53°) |
| OKLab | oklab(34.01% -0.0086 -0.138) |
| OKLCH | oklch(34.01% 0.138 266.4) |
| XYZ | xyz(5.0949, 3.6419, 20.1691) |
| Luminance | 0.0364 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.93
Midnight Blue
#191970
ΔE00 6.47
Sapphire (survey)
#2138AB
ΔE00 6.97
Marine Blue
#01386A
ΔE00 7.00
Royal
#0C1793
ΔE00 7.63
Darkish Blue
#014182
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172E7E #7E6717
analogous
#17627E #172E7E #34177E
triadic
#172E7E #7E172E #2E7E17
tetradic
#172E7E #7E1762 #7E6717 #177E34
square
#172E7E #7E1762 #7E6717 #177E34
split-complementary
#172E7E #7E3417 #627E17
monochromatic
#05091A #0E1B4A #172E7E #2041B2 #355ADA
Accessibility & contrast
On white
12.15
#172E7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#172E7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172E7E
12.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172E7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172E7E | 1.00 | 12.15 | 1.73 | 12.15 |
| #FFFFFF | 12.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#00317C
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #172e7e; /* rgb */ color: rgb(23, 46, 126); /* oklch */ color: oklch(34.0% 0.138 266.4);
Tailwind
colors: {
custom: {
50: '#6766a4',
500: '#172e7e',
950: '#000000',
},
}SCSS
$custom: #172e7e; $custom-light: #6766a4; $custom-dark: #000000;
JSON
{
"hex": "#172e7e",
"rgb": {
"r": 23,
"g": 46,
"b": 126
},
"hsl": {
"h": 226.602,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.34013,
"c": 0.13826,
"h": 266.4
},
"luminance": 0.03643
}Semantic roles & 50–950 ramp
primary
#172E7E
secondary
#B3993E
accent
#C53CEC
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07050F
muted
#7A7A7F