#172B58#172B58
#172B58 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.0% C 0.085 H 264.0°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).
Color values
| HEX | #172B58 |
|---|---|
| RGB | rgb(23, 43, 88) |
| HSL | hsl(222, 59%, 22%) |
| HSV | hsv(222, 74%, 35%) |
| CMYK | cmyk(73.9%, 51.1%, 0%, 65.5%) |
| CIE-LAB | lab(18.43, 9.24, -29.59) |
| CIE-LCH | lch(18.43, 31.00, 287.33°) |
| OKLab | oklab(30% -0.009 -0.0848) |
| OKLCH | oklch(30% 0.085 264) |
| XYZ | xyz(2.9781, 2.6142, 9.5783) |
| Luminance | 0.0261 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 3.03
Navy Blue
#1B2A4A
ΔE00 3.33
Marine Blue
#01386A
ΔE00 6.21
Navy (survey)
#01153E
ΔE00 7.00
Navy Blue (survey)
#001146
ΔE00 8.16
Midnight Blue
#191970
ΔE00 9.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172B58 #584417
analogous
#174C58 #172B58 #231758
triadic
#172B58 #58172B #2B5817
tetradic
#172B58 #58174C #584417 #175823
square
#172B58 #58174C #584417 #175823
split-complementary
#172B58 #582317 #4C5817
monochromatic
#060C18 #0A1327 #172B58 #244389 #305AB9
Accessibility & contrast
On white
13.79
#172B58 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#172B58 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172B58
13.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172B58 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172B58 | 1.00 | 13.79 | 1.52 | 13.79 |
| #FFFFFF | 13.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#13305A
Deuteranopia (green-blind)
#062A57
Tritanopia (blue-blind)
#00353D
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #172b58; /* rgb */ color: rgb(23, 43, 88); /* oklch */ color: oklch(30.0% 0.085 264.0);
Tailwind
colors: {
custom: {
50: '#5d6387',
500: '#172b58',
950: '#000000',
},
}SCSS
$custom: #172b58; $custom-light: #5d6387; $custom-dark: #000000;
JSON
{
"hex": "#172b58",
"rgb": {
"r": 23,
"g": 43,
"b": 88
},
"hsl": {
"h": 221.538,
"s": 58.559,
"l": 21.765
},
"oklch": {
"l": 0.29995,
"c": 0.08524,
"h": 264
},
"luminance": 0.02614
}Semantic roles & 50–950 ramp
primary
#172B58
secondary
#8F753C
accent
#B246E2
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#05050B
muted
#79797C