#172E6F#172E6F
#172E6F is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.6% C 0.116 H 265.5°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).
Color values
| HEX | #172E6F |
|---|---|
| RGB | rgb(23, 46, 111) |
| HSL | hsl(224, 66%, 26%) |
| HSV | hsv(224, 79%, 44%) |
| CMYK | cmyk(79.3%, 58.6%, 0%, 56.5%) |
| CIE-LAB | lab(21.14, 16.64, -40.27) |
| CIE-LCH | lch(21.14, 43.57, 292.45°) |
| OKLab | oklab(32.63% -0.0091 -0.1161) |
| OKLCH | oklch(32.63% 0.116 265.5) |
| XYZ | xyz(4.1986, 3.2834, 15.4483) |
| Luminance | 0.0328 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 3.77
Marine Blue
#01386A
ΔE00 5.75
Navy Blue
#1B2A4A
ΔE00 7.03
Midnight Blue
#191970
ΔE00 7.26
Darkish Blue
#014182
ΔE00 7.48
Twilight Blue
#0A437A
ΔE00 8.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172E6F #6F5817
analogous
#175A6F #172E6F #2C176F
triadic
#172E6F #6F172E #2E6F17
tetradic
#172E6F #6F175A #6F5817 #176F2C
square
#172E6F #6F175A #6F5817 #176F2C
split-complementary
#172E6F #6F2C17 #5A6F17
monochromatic
#050B19 #0C193C #172E6F #2243A2 #2D58D3
Accessibility & contrast
On white
12.68
#172E6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#172E6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172E6F
12.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172E6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172E6F | 1.00 | 12.68 | 1.66 | 12.68 |
| #FFFFFF | 12.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003771
Deuteranopia (green-blind)
#002F6E
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #172e6f; /* rgb */ color: rgb(23, 46, 111); /* oklch */ color: oklch(32.6% 0.116 265.5);
Tailwind
colors: {
custom: {
50: '#636699',
500: '#172e6f',
950: '#000000',
},
}SCSS
$custom: #172e6f; $custom-light: #636699; $custom-dark: #000000;
JSON
{
"hex": "#172e6f",
"rgb": {
"r": 23,
"g": 46,
"b": 111
},
"hsl": {
"h": 224.318,
"s": 65.672,
"l": 26.275
},
"oklch": {
"l": 0.32629,
"c": 0.11649,
"h": 265.5
},
"luminance": 0.03284
}Semantic roles & 50–950 ramp
primary
#172E6F
secondary
#A58A3D
accent
#BC3FE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E