#172C6E#172C6E
#172C6E is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.1% C 0.118 H 266.3°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).
Color values
| HEX | #172C6E |
|---|---|
| RGB | rgb(23, 44, 110) |
| HSL | hsl(226, 65%, 26%) |
| HSV | hsv(226, 79%, 43%) |
| CMYK | cmyk(79.1%, 60%, 0%, 56.9%) |
| CIE-LAB | lab(20.47, 17.67, -40.71) |
| CIE-LCH | lch(20.47, 44.38, 293.46°) |
| OKLab | oklab(32.1% -0.0076 -0.1175) |
| OKLCH | oklch(32.1% 0.118 266.3) |
| XYZ | xyz(4.0675, 3.1089, 15.1345) |
| Luminance | 0.0311 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.12
Marine Blue
#01386A
ΔE00 6.37
Midnight Blue
#191970
ΔE00 6.60
Navy Blue
#1B2A4A
ΔE00 7.05
Darkish Blue
#014182
ΔE00 8.16
Twilight Blue
#0A437A
ΔE00 8.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172C6E #6E5917
analogous
#17576E #172C6E #2D176E
triadic
#172C6E #6E172C #2C6E17
tetradic
#172C6E #6E1757 #6E5917 #176E2D
square
#172C6E #6E1757 #6E5917 #176E2D
split-complementary
#172C6E #6E2D17 #576E17
monochromatic
#050A19 #0C183B #172C6E #2240A1 #2C55D3
Accessibility & contrast
On white
12.95
#172C6E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#172C6E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172C6E
12.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172C6E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172C6E | 1.00 | 12.95 | 1.62 | 12.95 |
| #FFFFFF | 12.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003670
Deuteranopia (green-blind)
#002D6D
Tritanopia (blue-blind)
#003C48
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #172c6e; /* rgb */ color: rgb(23, 44, 110); /* oklch */ color: oklch(32.1% 0.118 266.3);
Tailwind
colors: {
custom: {
50: '#636498',
500: '#172c6e',
950: '#000000',
},
}SCSS
$custom: #172c6e; $custom-light: #636498; $custom-dark: #000000;
JSON
{
"hex": "#172c6e",
"rgb": {
"r": 23,
"g": 44,
"b": 110
},
"hsl": {
"h": 225.517,
"s": 65.414,
"l": 26.078
},
"oklch": {
"l": 0.32099,
"c": 0.11771,
"h": 266.3
},
"luminance": 0.03109
}Semantic roles & 50–950 ramp
primary
#172C6E
secondary
#A48B3D
accent
#C03FE8
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E