#172C6F#172C6F
#172C6F is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.2% C 0.119 H 266.4°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).
Color values
| HEX | #172C6F |
|---|---|
| RGB | rgb(23, 44, 111) |
| HSL | hsl(226, 66%, 26%) |
| HSV | hsv(226, 79%, 44%) |
| CMYK | cmyk(79.3%, 60.4%, 0%, 56.5%) |
| CIE-LAB | lab(20.56, 18.09, -41.22) |
| CIE-LCH | lch(20.56, 45.01, 293.69°) |
| OKLab | oklab(32.19% -0.0075 -0.119) |
| OKLCH | oklch(32.19% 0.119 266.4) |
| XYZ | xyz(4.1223, 3.1308, 15.4229) |
| Luminance | 0.0313 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.25
Marine Blue
#01386A
ΔE00 6.43
Midnight Blue
#191970
ΔE00 6.51
Navy Blue
#1B2A4A
ΔE00 7.21
Darkish Blue
#014182
ΔE00 8.15
Darkslateblue
#483D8B
ΔE00 8.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172C6F #6F5A17
analogous
#17586F #172C6F #2E176F
triadic
#172C6F #6F172C #2C6F17
tetradic
#172C6F #6F1758 #6F5A17 #176F2E
square
#172C6F #6F1758 #6F5A17 #176F2E
split-complementary
#172C6F #6F2E17 #586F17
monochromatic
#050A19 #0C183C #172C6F #2240A2 #2D55D3
Accessibility & contrast
On white
12.91
#172C6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#172C6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172C6F
12.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172C6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172C6F | 1.00 | 12.91 | 1.63 | 12.91 |
| #FFFFFF | 12.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003671
Deuteranopia (green-blind)
#002E6E
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #172c6f; /* rgb */ color: rgb(23, 44, 111); /* oklch */ color: oklch(32.2% 0.119 266.4);
Tailwind
colors: {
custom: {
50: '#636499',
500: '#172c6f',
950: '#000000',
},
}SCSS
$custom: #172c6f; $custom-light: #636499; $custom-dark: #000000;
JSON
{
"hex": "#172c6f",
"rgb": {
"r": 23,
"g": 44,
"b": 111
},
"hsl": {
"h": 225.682,
"s": 65.672,
"l": 26.275
},
"oklch": {
"l": 0.3219,
"c": 0.1192,
"h": 266.4
},
"luminance": 0.03131
}Semantic roles & 50–950 ramp
primary
#172C6F
secondary
#A58C3D
accent
#C03FE9
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E