#172B75#172B75
#172B75 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.5% C 0.129 H 267.1°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).
Color values
| HEX | #172B75 |
|---|---|
| RGB | rgb(23, 43, 117) |
| HSL | hsl(227, 67%, 27%) |
| HSV | hsv(227, 80%, 46%) |
| CMYK | cmyk(80.3%, 63.2%, 0%, 54.1%) |
| CIE-LAB | lab(20.80, 21.26, -44.68) |
| CIE-LCH | lch(20.80, 49.48, 295.45°) |
| OKLab | oklab(32.54% -0.0066 -0.1291) |
| OKLCH | oklch(32.54% 0.129 267.1) |
| XYZ | xyz(4.4270, 3.1938, 17.2093) |
| Luminance | 0.0319 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.31
Midnight Blue
#191970
ΔE00 5.71
Marine Blue
#01386A
ΔE00 7.17
Royal
#0C1793
ΔE00 7.94
Navy Blue
#1B2A4A
ΔE00 8.25
Sapphire (survey)
#2138AB
ΔE00 8.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172B75 #756117
analogous
#175A75 #172B75 #321775
triadic
#172B75 #75172B #2B7517
tetradic
#172B75 #75175A #756117 #177532
square
#172B75 #75175A #756117 #177532
split-complementary
#172B75 #753217 #5A7517
monochromatic
#05091A #0D1842 #172B75 #213EA8 #3053D6
Accessibility & contrast
On white
12.81
#172B75 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#172B75 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172B75
12.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172B75 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172B75 | 1.00 | 12.81 | 1.64 | 12.81 |
| #FFFFFF | 12.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003777
Deuteranopia (green-blind)
#002E74
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #172b75; /* rgb */ color: rgb(23, 43, 117); /* oklch */ color: oklch(32.5% 0.129 267.1);
Tailwind
colors: {
custom: {
50: '#65649d',
500: '#172b75',
950: '#000000',
},
}SCSS
$custom: #172b75; $custom-light: #65649d; $custom-dark: #000000;
JSON
{
"hex": "#172b75",
"rgb": {
"r": 23,
"g": 43,
"b": 117
},
"hsl": {
"h": 227.234,
"s": 67.143,
"l": 27.451
},
"oklch": {
"l": 0.32537,
"c": 0.1293,
"h": 267.1
},
"luminance": 0.03194
}Semantic roles & 50–950 ramp
primary
#172B75
secondary
#AA933D
accent
#C53EEA
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E