#172E6E#172E6E
#172E6E is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.5% C 0.115 H 265.4°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).
Color values
| HEX | #172E6E |
|---|---|
| RGB | rgb(23, 46, 110) |
| HSL | hsl(224, 65%, 26%) |
| HSV | hsv(224, 79%, 43%) |
| CMYK | cmyk(79.1%, 58.2%, 0%, 56.9%) |
| CIE-LAB | lab(21.06, 16.23, -39.76) |
| CIE-LCH | lch(21.06, 42.94, 292.20°) |
| OKLab | oklab(32.54% -0.0092 -0.1146) |
| OKLCH | oklch(32.54% 0.115 265.4) |
| XYZ | xyz(4.1438, 3.2615, 15.1600) |
| Luminance | 0.0326 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 3.63
Marine Blue
#01386A
ΔE00 5.69
Navy Blue
#1B2A4A
ΔE00 6.88
Midnight Blue
#191970
ΔE00 7.35
Darkish Blue
#014182
ΔE00 7.49
Twilight Blue
#0A437A
ΔE00 8.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172E6E #6E5717
analogous
#17596E #172E6E #2B176E
triadic
#172E6E #6E172E #2E6E17
tetradic
#172E6E #6E1759 #6E5717 #176E2B
square
#172E6E #6E1759 #6E5717 #176E2B
split-complementary
#172E6E #6E2B17 #596E17
monochromatic
#050B19 #0C193B #172E6E #2243A1 #2C58D3
Accessibility & contrast
On white
12.71
#172E6E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#172E6E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172E6E
12.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172E6E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172E6E | 1.00 | 12.71 | 1.65 | 12.71 |
| #FFFFFF | 12.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003770
Deuteranopia (green-blind)
#002F6D
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #172e6e; /* rgb */ color: rgb(23, 46, 110); /* oklch */ color: oklch(32.5% 0.115 265.4);
Tailwind
colors: {
custom: {
50: '#636698',
500: '#172e6e',
950: '#000000',
},
}SCSS
$custom: #172e6e; $custom-light: #636698; $custom-dark: #000000;
JSON
{
"hex": "#172e6e",
"rgb": {
"r": 23,
"g": 46,
"b": 110
},
"hsl": {
"h": 224.138,
"s": 65.414,
"l": 26.078
},
"oklch": {
"l": 0.32541,
"c": 0.115,
"h": 265.4
},
"luminance": 0.03262
}Semantic roles & 50–950 ramp
primary
#172E6E
secondary
#A4893D
accent
#BC3FE8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E