#172C50#172C50
#172C50 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.6% C 0.071 H 260.5°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).
Color values
| HEX | #172C50 |
|---|---|
| RGB | rgb(23, 44, 80) |
| HSL | hsl(218, 55%, 20%) |
| HSV | hsv(218, 71%, 31%) |
| CMYK | cmyk(71.2%, 45%, 0%, 68.6%) |
| CIE-LAB | lab(18.20, 5.18, -24.59) |
| CIE-LCH | lch(18.20, 25.13, 281.90°) |
| OKLab | oklab(29.64% -0.0117 -0.0701) |
| OKLCH | oklch(29.64% 0.071 260.5) |
| XYZ | xyz(2.7015, 2.5625, 7.9401) |
| Luminance | 0.0256 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 1.75
Marine
#042E60
ΔE00 3.56
Marine Blue
#01386A
ΔE00 6.11
Navy (survey)
#01153E
ΔE00 7.39
Navy Blue (survey)
#001146
ΔE00 9.06
Dark
#1B2431
ΔE00 9.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172C50 #503B17
analogous
#174850 #172C50 #1F1750
triadic
#172C50 #50172C #2C5017
tetradic
#172C50 #501748 #503B17 #17501F
square
#172C50 #501748 #503B17 #17501F
split-complementary
#172C50 #501F17 #485017
monochromatic
#070D18 #091220 #172C50 #254680 #3260AF
Accessibility & contrast
On white
13.88
#172C50 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#172C50 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172C50
13.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172C50 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172C50 | 1.00 | 13.88 | 1.51 | 13.88 |
| #FFFFFF | 13.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C2F51
Deuteranopia (green-blind)
#132A4F
Tritanopia (blue-blind)
#00343A
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #172c50; /* rgb */ color: rgb(23, 44, 80); /* oklch */ color: oklch(29.6% 0.071 260.5);
Tailwind
colors: {
custom: {
50: '#5b6481',
500: '#172c50',
950: '#000000',
},
}SCSS
$custom: #172c50; $custom-light: #5b6481; $custom-dark: #000000;
JSON
{
"hex": "#172c50",
"rgb": {
"r": 23,
"g": 44,
"b": 80
},
"hsl": {
"h": 217.895,
"s": 55.34,
"l": 20.196
},
"oklch": {
"l": 0.2964,
"c": 0.07105,
"h": 260.5
},
"luminance": 0.02563
}Semantic roles & 50–950 ramp
primary
#172C50
secondary
#876B3C
accent
#A849DF
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C