#172E50#172E50
#172E50 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.2% C 0.068 H 258.1°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).
Color values
| HEX | #172E50 |
|---|---|
| RGB | rgb(23, 46, 80) |
| HSL | hsl(216, 55%, 20%) |
| HSV | hsv(216, 71%, 31%) |
| CMYK | cmyk(71.2%, 42.5%, 0%, 68.6%) |
| CIE-LAB | lab(18.86, 3.73, -23.53) |
| CIE-LCH | lch(18.86, 23.83, 279.02°) |
| OKLab | oklab(30.16% -0.0141 -0.0669) |
| OKLCH | oklch(30.16% 0.068 258.1) |
| XYZ | xyz(2.7778, 2.7151, 7.9655) |
| Luminance | 0.0272 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 2.37
Marine
#042E60
ΔE00 3.48
Marine Blue
#01386A
ΔE00 5.50
Navy (survey)
#01153E
ΔE00 8.25
Dark
#1B2431
ΔE00 8.62
Twilight Blue
#0A437A
ΔE00 8.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172E50 #503917
analogous
#174B50 #172E50 #1C1750
triadic
#172E50 #50172E #2E5017
tetradic
#172E50 #50174B #503917 #17501C
square
#172E50 #50174B #503917 #17501C
split-complementary
#172E50 #501C17 #4B5017
monochromatic
#070E18 #091320 #172E50 #254980 #3265AF
Accessibility & contrast
On white
13.61
#172E50 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#172E50 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172E50
13.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172E50 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172E50 | 1.00 | 13.61 | 1.54 | 13.61 |
| #FFFFFF | 13.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F3151
Deuteranopia (green-blind)
#172B4F
Tritanopia (blue-blind)
#00363B
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #172e50; /* rgb */ color: rgb(23, 46, 80); /* oklch */ color: oklch(30.2% 0.068 258.1);
Tailwind
colors: {
custom: {
50: '#5b6681',
500: '#172e50',
950: '#000000',
},
}SCSS
$custom: #172e50; $custom-light: #5b6681; $custom-dark: #000000;
JSON
{
"hex": "#172e50",
"rgb": {
"r": 23,
"g": 46,
"b": 80
},
"hsl": {
"h": 215.789,
"s": 55.34,
"l": 20.196
},
"oklch": {
"l": 0.30157,
"c": 0.06842,
"h": 258.1
},
"luminance": 0.02715
}Semantic roles & 50–950 ramp
primary
#172E50
secondary
#87693C
accent
#A249DF
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C