#172C6A#172C6A
#172C6A is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.7% C 0.112 H 266.0°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).
Color values
| HEX | #172C6A |
|---|---|
| RGB | rgb(23, 44, 106) |
| HSL | hsl(225, 64%, 25%) |
| HSV | hsv(225, 78%, 42%) |
| CMYK | cmyk(78.3%, 58.5%, 0%, 58.4%) |
| CIE-LAB | lab(20.14, 16.01, -38.67) |
| CIE-LCH | lch(20.14, 41.85, 292.50°) |
| OKLab | oklab(31.74% -0.0078 -0.1115) |
| OKLCH | oklch(31.74% 0.112 266) |
| XYZ | xyz(3.8546, 3.0237, 14.0134) |
| Luminance | 0.0302 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 3.63
Marine Blue
#01386A
ΔE00 6.15
Navy Blue
#1B2A4A
ΔE00 6.41
Midnight Blue
#191970
ΔE00 7.01
Darkish Blue
#014182
ΔE00 8.21
Navy Blue (survey)
#001146
ΔE00 8.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172C6A #6A5517
analogous
#17556A #172C6A #2B176A
triadic
#172C6A #6A172C #2C6A17
tetradic
#172C6A #6A1755 #6A5517 #176A2B
square
#172C6A #6A1755 #6A5517 #176A2B
split-complementary
#172C6A #6A2B17 #556A17
monochromatic
#050A19 #0C1738 #172C6A #22419C #2D56CF
Accessibility & contrast
On white
13.09
#172C6A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#172C6A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172C6A
13.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172C6A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172C6A | 1.00 | 13.09 | 1.60 | 13.09 |
| #FFFFFF | 13.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00356C
Deuteranopia (green-blind)
#002D69
Tritanopia (blue-blind)
#003B46
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #172c6a; /* rgb */ color: rgb(23, 44, 106); /* oklch */ color: oklch(31.7% 0.112 266.0);
Tailwind
colors: {
custom: {
50: '#626495',
500: '#172c6a',
950: '#000000',
},
}SCSS
$custom: #172c6a; $custom-light: #626495; $custom-dark: #000000;
JSON
{
"hex": "#172c6a",
"rgb": {
"r": 23,
"g": 44,
"b": 106
},
"hsl": {
"h": 224.819,
"s": 64.341,
"l": 25.294
},
"oklch": {
"l": 0.31741,
"c": 0.11173,
"h": 266
},
"luminance": 0.03024
}Semantic roles & 50–950 ramp
primary
#172C6A
secondary
#A0873D
accent
#BD40E7
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E