#172C76#172C76
#172C76 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.8% C 0.129 H 266.8°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).
Color values
| HEX | #172C76 |
|---|---|
| RGB | rgb(23, 44, 118) |
| HSL | hsl(227, 67%, 28%) |
| HSV | hsv(227, 81%, 46%) |
| CMYK | cmyk(80.5%, 62.7%, 0%, 53.7%) |
| CIE-LAB | lab(21.17, 20.96, -44.72) |
| CIE-LCH | lch(21.17, 49.38, 295.11°) |
| OKLab | oklab(32.84% -0.0073 -0.1292) |
| OKLCH | oklch(32.84% 0.129 266.8) |
| XYZ | xyz(4.5229, 3.2910, 17.5329) |
| Luminance | 0.0329 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.20
Midnight Blue
#191970
ΔE00 6.02
Marine Blue
#01386A
ΔE00 6.92
Royal
#0C1793
ΔE00 8.08
Darkish Blue
#014182
ΔE00 8.19
Sapphire (survey)
#2138AB
ΔE00 8.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172C76 #766117
analogous
#175B76 #172C76 #321776
triadic
#172C76 #76172C #2C7617
tetradic
#172C76 #76175B #766117 #177632
square
#172C76 #76175B #766117 #177632
split-complementary
#172C76 #763217 #5B7617
monochromatic
#050A1A #0D1943 #172C76 #213FA9 #3155D7
Accessibility & contrast
On white
12.66
#172C76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#172C76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172C76
12.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172C76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172C76 | 1.00 | 12.66 | 1.66 | 12.66 |
| #FFFFFF | 12.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003778
Deuteranopia (green-blind)
#002F75
Tritanopia (blue-blind)
#003F4C
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #172c76; /* rgb */ color: rgb(23, 44, 118); /* oklch */ color: oklch(32.8% 0.129 266.8);
Tailwind
colors: {
custom: {
50: '#65649e',
500: '#172c76',
950: '#000000',
},
}SCSS
$custom: #172c76; $custom-light: #65649e; $custom-dark: #000000;
JSON
{
"hex": "#172c76",
"rgb": {
"r": 23,
"g": 44,
"b": 118
},
"hsl": {
"h": 226.737,
"s": 67.376,
"l": 27.647
},
"oklch": {
"l": 0.3284,
"c": 0.12943,
"h": 266.8
},
"luminance": 0.03292
}Semantic roles & 50–950 ramp
primary
#172C76
secondary
#AB933E
accent
#C43EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E