#172B50#172B50
#172B50 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.4% C 0.072 H 261.6°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).
Color values
| HEX | #172B50 |
|---|---|
| RGB | rgb(23, 43, 80) |
| HSL | hsl(219, 55%, 20%) |
| HSV | hsv(219, 71%, 31%) |
| CMYK | cmyk(71.2%, 46.2%, 0%, 68.6%) |
| CIE-LAB | lab(17.87, 5.91, -25.12) |
| CIE-LCH | lch(17.87, 25.81, 283.24°) |
| OKLab | oklab(29.39% -0.0106 -0.0716) |
| OKLCH | oklch(29.39% 0.072 261.6) |
| XYZ | xyz(2.6647, 2.4888, 7.9278) |
| Luminance | 0.0249 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 1.66
Marine
#042E60
ΔE00 3.68
Marine Blue
#01386A
ΔE00 6.44
Navy (survey)
#01153E
ΔE00 6.99
Navy Blue (survey)
#001146
ΔE00 8.66
Dark
#1B2431
ΔE00 9.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172B50 #503C17
analogous
#174850 #172B50 #1F1750
triadic
#172B50 #50172B #2B5017
tetradic
#172B50 #501748 #503C17 #17501F
square
#172B50 #501748 #503C17 #17501F
split-complementary
#172B50 #501F17 #485017
monochromatic
#070D18 #091120 #172B50 #254580 #325EAF
Accessibility & contrast
On white
14.02
#172B50 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#172B50 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172B50
14.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172B50 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172B50 | 1.00 | 14.02 | 1.50 | 14.02 |
| #FFFFFF | 14.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A2F51
Deuteranopia (green-blind)
#11294F
Tritanopia (blue-blind)
#003339
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #172b50; /* rgb */ color: rgb(23, 43, 80); /* oklch */ color: oklch(29.4% 0.072 261.6);
Tailwind
colors: {
custom: {
50: '#5b6381',
500: '#172b50',
950: '#000000',
},
}SCSS
$custom: #172b50; $custom-light: #5b6381; $custom-dark: #000000;
JSON
{
"hex": "#172b50",
"rgb": {
"r": 23,
"g": 43,
"b": 80
},
"hsl": {
"h": 218.947,
"s": 55.34,
"l": 20.196
},
"oklch": {
"l": 0.29385,
"c": 0.07241,
"h": 261.6
},
"luminance": 0.02489
}Semantic roles & 50–950 ramp
primary
#172B50
secondary
#876D3C
accent
#AA49DF
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C