#172B72#172B72
#172B72 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.3% C 0.125 H 266.9°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).
Color values
| HEX | #172B72 |
|---|---|
| RGB | rgb(23, 43, 114) |
| HSL | hsl(227, 66%, 27%) |
| HSV | hsv(227, 80%, 45%) |
| CMYK | cmyk(79.8%, 62.3%, 0%, 55.3%) |
| CIE-LAB | lab(20.54, 20.04, -43.19) |
| CIE-LCH | lch(20.54, 47.61, 294.89°) |
| OKLab | oklab(32.25% -0.0067 -0.1248) |
| OKLCH | oklch(32.25% 0.125 266.9) |
| XYZ | xyz(4.2534, 3.1243, 16.2952) |
| Luminance | 0.0313 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.91
Midnight Blue
#191970
ΔE00 5.90
Marine Blue
#01386A
ΔE00 6.96
Navy Blue
#1B2A4A
ΔE00 7.79
Royal
#0C1793
ΔE00 8.39
Darkish Blue
#014182
ΔE00 8.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172B72 #725E17
analogous
#175972 #172B72 #311772
triadic
#172B72 #72172B #2B7217
tetradic
#172B72 #721759 #725E17 #177231
square
#172B72 #721759 #725E17 #177231
split-complementary
#172B72 #723117 #597217
monochromatic
#050A19 #0D183F #172B72 #213EA5 #2E53D5
Accessibility & contrast
On white
12.92
#172B72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#172B72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172B72
12.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172B72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172B72 | 1.00 | 12.92 | 1.63 | 12.92 |
| #FFFFFF | 12.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003674
Deuteranopia (green-blind)
#002D71
Tritanopia (blue-blind)
#003D4A
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #172b72; /* rgb */ color: rgb(23, 43, 114); /* oklch */ color: oklch(32.3% 0.125 266.9);
Tailwind
colors: {
custom: {
50: '#64649b',
500: '#172b72',
950: '#000000',
},
}SCSS
$custom: #172b72; $custom-light: #64649b; $custom-dark: #000000;
JSON
{
"hex": "#172b72",
"rgb": {
"r": 23,
"g": 43,
"b": 114
},
"hsl": {
"h": 226.813,
"s": 66.423,
"l": 26.863
},
"oklch": {
"l": 0.32253,
"c": 0.12495,
"h": 266.9
},
"luminance": 0.03125
}Semantic roles & 50–950 ramp
primary
#172B72
secondary
#A8903D
accent
#C43EE9
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E