#172B74#172B74
#172B74 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.4% C 0.128 H 267.0°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).
Color values
| HEX | #172B74 |
|---|---|
| RGB | rgb(23, 43, 116) |
| HSL | hsl(227, 67%, 27%) |
| HSV | hsv(227, 80%, 45%) |
| CMYK | cmyk(80.2%, 62.9%, 0%, 54.5%) |
| CIE-LAB | lab(20.71, 20.85, -44.19) |
| CIE-LCH | lch(20.71, 48.86, 295.26°) |
| OKLab | oklab(32.44% -0.0066 -0.1277) |
| OKLCH | oklch(32.44% 0.128 267) |
| XYZ | xyz(4.3685, 3.1704, 16.9013) |
| Luminance | 0.0317 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.17
Midnight Blue
#191970
ΔE00 5.77
Marine Blue
#01386A
ΔE00 7.10
Royal
#0C1793
ΔE00 8.09
Navy Blue
#1B2A4A
ΔE00 8.10
Darkish Blue
#014182
ΔE00 8.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172B74 #746017
analogous
#175974 #172B74 #321774
triadic
#172B74 #74172B #2B7417
tetradic
#172B74 #741759 #746017 #177432
square
#172B74 #741759 #746017 #177432
split-complementary
#172B74 #743217 #597417
monochromatic
#05091A #0D1841 #172B74 #213EA7 #3053D6
Accessibility & contrast
On white
12.85
#172B74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#172B74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172B74
12.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172B74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172B74 | 1.00 | 12.85 | 1.63 | 12.85 |
| #FFFFFF | 12.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003676
Deuteranopia (green-blind)
#002E73
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #172b74; /* rgb */ color: rgb(23, 43, 116); /* oklch */ color: oklch(32.4% 0.128 267.0);
Tailwind
colors: {
custom: {
50: '#64649d',
500: '#172b74',
950: '#000000',
},
}SCSS
$custom: #172b74; $custom-light: #64649d; $custom-dark: #000000;
JSON
{
"hex": "#172b74",
"rgb": {
"r": 23,
"g": 43,
"b": 116
},
"hsl": {
"h": 227.097,
"s": 66.906,
"l": 27.255
},
"oklch": {
"l": 0.32442,
"c": 0.12785,
"h": 267
},
"luminance": 0.03171
}Semantic roles & 50–950 ramp
primary
#172B74
secondary
#A9923D
accent
#C53EEA
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E