#172B85#172B85
#172B85 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.1% C 0.152 H 267.4°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).
Color values
| HEX | #172B85 |
|---|---|
| RGB | rgb(23, 43, 133) |
| HSL | hsl(229, 71%, 31%) |
| HSV | hsv(229, 83%, 52%) |
| CMYK | cmyk(82.7%, 67.7%, 0%, 47.8%) |
| CIE-LAB | lab(22.31, 27.66, -52.35) |
| CIE-LCH | lch(22.31, 59.21, 297.85°) |
| OKLab | oklab(34.11% -0.007 -0.1516) |
| OKLCH | oklch(34.11% 0.152 267.4) |
| XYZ | xyz(5.4494, 3.6027, 22.5939) |
| Luminance | 0.0360 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.66
Royal
#0C1793
ΔE00 5.92
Sapphire (survey)
#2138AB
ΔE00 6.26
Marine
#042E60
ΔE00 7.50
Darkslateblue
#483D8B
ΔE00 7.82
Blueberry
#464196
ΔE00 8.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172B85 #857117
analogous
#176285 #172B85 #3A1785
triadic
#172B85 #85172B #2B8517
tetradic
#172B85 #851762 #857117 #17853A
square
#172B85 #851762 #857117 #17853A
split-complementary
#172B85 #853A17 #628517
monochromatic
#05091D #0E1A51 #172B85 #203CB9 #3A57DD
Accessibility & contrast
On white
12.21
#172B85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#172B85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172B85
12.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172B85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172B85 | 1.00 | 12.21 | 1.72 | 12.21 |
| #FFFFFF | 12.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B88
Deuteranopia (green-blind)
#003083
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #172b85; /* rgb */ color: rgb(23, 43, 133); /* oklch */ color: oklch(34.1% 0.152 267.4);
Tailwind
colors: {
custom: {
50: '#6964a9',
500: '#172b85',
950: '#000000',
},
}SCSS
$custom: #172b85; $custom-light: #6964a9; $custom-dark: #000000;
JSON
{
"hex": "#172b85",
"rgb": {
"r": 23,
"g": 43,
"b": 133
},
"hsl": {
"h": 229.091,
"s": 70.513,
"l": 30.588
},
"oklch": {
"l": 0.34114,
"c": 0.15175,
"h": 267.4
},
"luminance": 0.03603
}Semantic roles & 50–950 ramp
primary
#172B85
secondary
#B9A33F
accent
#CD3BED
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#070510
muted
#7A797F