#172B47#172B47
#172B47 is a dark, muted blue. Relative luminance 0.024; OKLCH L 28.8% C 0.058 H 257.0°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).
Color values
| HEX | #172B47 |
|---|---|
| RGB | rgb(23, 43, 71) |
| HSL | hsl(215, 51%, 18%) |
| HSV | hsv(215, 68%, 28%) |
| CMYK | cmyk(67.6%, 39.4%, 0%, 72.2%) |
| CIE-LAB | lab(17.29, 2.24, -19.92) |
| CIE-LCH | lch(17.29, 20.04, 276.41°) |
| OKLab | oklab(28.75% -0.013 -0.0564) |
| OKLCH | oklch(28.75% 0.058 257) |
| XYZ | xyz(2.3542, 2.3646, 6.2924) |
| Luminance | 0.0237 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 2.52
Marine
#042E60
ΔE00 5.19
Dark
#1B2431
ΔE00 6.57
Marine Blue
#01386A
ΔE00 7.07
Navy (survey)
#01153E
ΔE00 8.07
Dark Blue Grey
#1F3B4D
ΔE00 8.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172B47 #473317
analogous
#174347 #172B47 #1B1747
triadic
#172B47 #47172B #2B4717
tetradic
#172B47 #471743 #473317 #17471B
square
#172B47 #471743 #473317 #17471B
split-complementary
#172B47 #471B17 #434717
monochromatic
#070E17 #080F19 #172B47 #264775 #3563A3
Accessibility & contrast
On white
14.26
#172B47 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#172B47 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172B47
14.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172B47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172B47 | 1.00 | 14.26 | 1.47 | 14.26 |
| #FFFFFF | 14.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F2D48
Deuteranopia (green-blind)
#192846
Tritanopia (blue-blind)
#003135
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #172b47; /* rgb */ color: rgb(23, 43, 71); /* oklch */ color: oklch(28.8% 0.058 257.0);
Tailwind
colors: {
custom: {
50: '#59647a',
500: '#172b47',
950: '#000000',
},
}SCSS
$custom: #172b47; $custom-light: #59647a; $custom-dark: #000000;
JSON
{
"hex": "#172b47",
"rgb": {
"r": 23,
"g": 43,
"b": 71
},
"hsl": {
"h": 215,
"s": 51.064,
"l": 18.431
},
"oklch": {
"l": 0.28753,
"c": 0.05788,
"h": 257
},
"luminance": 0.02365
}Semantic roles & 50–950 ramp
primary
#172B47
secondary
#7E623C
accent
#A04DDB
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#040509
muted
#79797B