#172149#172149
#172149 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.4% C 0.075 H 270.0°. Best body text is #FFFFFF at 15.55:1 contrast (WCAG AA passes).
Color values
| HEX | #172149 |
|---|---|
| RGB | rgb(23, 33, 73) |
| HSL | hsl(228, 52%, 19%) |
| HSV | hsv(228, 68%, 29%) |
| CMYK | cmyk(68.5%, 54.8%, 0%, 71.4%) |
| CIE-LAB | lab(14.12, 10.46, -26.35) |
| CIE-LCH | lch(14.12, 28.35, 291.65°) |
| OKLab | oklab(26.35% 0 -0.0754) |
| OKLCH | oklch(26.35% 0.075 270) |
| XYZ | xyz(2.0994, 1.7507, 6.5293) |
| Luminance | 0.0175 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 3.98
Navy (survey)
#01153E
ΔE00 3.99
Navy Blue (survey)
#001146
ΔE00 5.62
Marine
#042E60
ΔE00 6.76
Dark Navy
#000435
ΔE00 7.15
Dark Navy Blue
#00022E
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172149 #493F17
analogous
#173A49 #172149 #261749
triadic
#172149 #491721 #214917
tetradic
#172149 #49173A #493F17 #174926
square
#172149 #49173A #493F17 #174926
split-complementary
#172149 #492617 #3A4917
monochromatic
#070B17 #080C1A #172149 #263678 #344BA6
Accessibility & contrast
On white
15.55
#172149 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.35
#172149 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172149
15.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172149 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172149 | 1.00 | 15.55 | 1.35 | 15.55 |
| #FFFFFF | 15.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C264A
Deuteranopia (green-blind)
#032248
Tritanopia (blue-blind)
#002A31
Achromatopsia (no color)
#242424
Design tokens & code
CSS
--color: #172149; /* rgb */ color: rgb(23, 33, 73); /* oklch */ color: oklch(26.4% 0.075 270.0);
Tailwind
colors: {
custom: {
50: '#5a5b7c',
500: '#172149',
950: '#000000',
},
}SCSS
$custom: #172149; $custom-light: #5a5b7c; $custom-dark: #000000;
JSON
{
"hex": "#172149",
"rgb": {
"r": 23,
"g": 33,
"b": 73
},
"hsl": {
"h": 228,
"s": 52.083,
"l": 18.824
},
"oklch": {
"l": 0.26353,
"c": 0.07541,
"h": 270
},
"luminance": 0.01751
}Semantic roles & 50–950 ramp
primary
#172149
secondary
#80723C
accent
#BF4CDC
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040409
muted
#79797B