#172B76#172B76
#172B76 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.6% C 0.131 H 267.1°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).
Color values
| HEX | #172B76 |
|---|---|
| RGB | rgb(23, 43, 118) |
| HSL | hsl(227, 67%, 28%) |
| HSV | hsv(227, 81%, 46%) |
| CMYK | cmyk(80.5%, 63.6%, 0%, 53.7%) |
| CIE-LAB | lab(20.89, 21.67, -45.17) |
| CIE-LCH | lch(20.89, 50.10, 295.63°) |
| OKLab | oklab(32.63% -0.0066 -0.1306) |
| OKLCH | oklch(32.63% 0.131 267.1) |
| XYZ | xyz(4.4861, 3.2174, 17.5206) |
| Luminance | 0.0322 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.44
Midnight Blue
#191970
ΔE00 5.66
Marine Blue
#01386A
ΔE00 7.24
Royal
#0C1793
ΔE00 7.79
Sapphire (survey)
#2138AB
ΔE00 8.30
Darkslateblue
#483D8B
ΔE00 8.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172B76 #766217
analogous
#175B76 #172B76 #321776
triadic
#172B76 #76172B #2B7617
tetradic
#172B76 #76175B #766217 #177632
square
#172B76 #76175B #766217 #177632
split-complementary
#172B76 #763217 #5B7617
monochromatic
#05091A #0D1843 #172B76 #213EA9 #3154D7
Accessibility & contrast
On white
12.78
#172B76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#172B76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172B76
12.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172B76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172B76 | 1.00 | 12.78 | 1.64 | 12.78 |
| #FFFFFF | 12.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003778
Deuteranopia (green-blind)
#002E75
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #172b76; /* rgb */ color: rgb(23, 43, 118); /* oklch */ color: oklch(32.6% 0.131 267.1);
Tailwind
colors: {
custom: {
50: '#65649e',
500: '#172b76',
950: '#000000',
},
}SCSS
$custom: #172b76; $custom-light: #65649e; $custom-dark: #000000;
JSON
{
"hex": "#172b76",
"rgb": {
"r": 23,
"g": 43,
"b": 118
},
"hsl": {
"h": 227.368,
"s": 67.376,
"l": 27.647
},
"oklch": {
"l": 0.32632,
"c": 0.13074,
"h": 267.1
},
"luminance": 0.03218
}Semantic roles & 50–950 ramp
primary
#172B76
secondary
#AB943E
accent
#C63EEA
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E