#172C66#172C66
#172C66 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.4% C 0.106 H 265.6°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).
Color values
| HEX | #172C66 |
|---|---|
| RGB | rgb(23, 44, 102) |
| HSL | hsl(224, 63%, 25%) |
| HSV | hsv(224, 77%, 40%) |
| CMYK | cmyk(77.5%, 56.9%, 0%, 60%) |
| CIE-LAB | lab(19.81, 14.35, -36.59) |
| CIE-LCH | lch(19.81, 39.31, 291.41°) |
| OKLab | oklab(31.39% -0.0081 -0.1054) |
| OKLCH | oklch(31.39% 0.106 265.6) |
| XYZ | xyz(3.6515, 2.9424, 12.9433) |
| Luminance | 0.0294 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 3.21
Navy Blue
#1B2A4A
ΔE00 5.75
Marine Blue
#01386A
ΔE00 5.99
Midnight Blue
#191970
ΔE00 7.48
Darkish Blue
#014182
ΔE00 8.31
Navy (survey)
#01153E
ΔE00 8.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172C66 #665117
analogous
#175466 #172C66 #2A1766
triadic
#172C66 #66172C #2C6617
tetradic
#172C66 #661754 #665117 #17662A
square
#172C66 #661754 #665117 #17662A
split-complementary
#172C66 #662A17 #546617
monochromatic
#060B19 #0C1634 #172C66 #224298 #2E57CA
Accessibility & contrast
On white
13.22
#172C66 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#172C66 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172C66
13.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172C66 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172C66 | 1.00 | 13.22 | 1.59 | 13.22 |
| #FFFFFF | 13.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#023468
Deuteranopia (green-blind)
#002C65
Tritanopia (blue-blind)
#003A44
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #172c66; /* rgb */ color: rgb(23, 44, 102); /* oklch */ color: oklch(31.4% 0.106 265.6);
Tailwind
colors: {
custom: {
50: '#616492',
500: '#172c66',
950: '#000000',
},
}SCSS
$custom: #172c66; $custom-light: #616492; $custom-dark: #000000;
JSON
{
"hex": "#172c66",
"rgb": {
"r": 23,
"g": 44,
"b": 102
},
"hsl": {
"h": 224.051,
"s": 63.2,
"l": 24.51
},
"oklch": {
"l": 0.31391,
"c": 0.10567,
"h": 265.6
},
"luminance": 0.02943
}Semantic roles & 50–950 ramp
primary
#172C66
secondary
#9C833C
accent
#BA42E6
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#05050D
muted
#7A797E