#172F50#172F50
#172F50 is a dark, moderate cyan. Relative luminance 0.028; OKLCH L 30.4% C 0.067 H 256.8°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).
Color values
| HEX | #172F50 |
|---|---|
| RGB | rgb(23, 47, 80) |
| HSL | hsl(215, 55%, 20%) |
| HSV | hsv(215, 71%, 31%) |
| CMYK | cmyk(71.2%, 41.3%, 0%, 68.6%) |
| CIE-LAB | lab(19.20, 3.02, -23.00) |
| CIE-LCH | lch(19.20, 23.20, 277.47°) |
| OKLab | oklab(30.42% -0.0153 -0.0654) |
| OKLCH | oklch(30.42% 0.067 256.8) |
| XYZ | xyz(2.8173, 2.7941, 7.9787) |
| Luminance | 0.0279 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 2.83
Marine
#042E60
ΔE00 3.55
Marine Blue
#01386A
ΔE00 5.24
Dark
#1B2431
ΔE00 8.41
Twilight Blue
#0A437A
ΔE00 8.41
Darkish Blue
#014182
ΔE00 8.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172F50 #503817
analogous
#174B50 #172F50 #1B1750
triadic
#172F50 #50172F #2F5017
tetradic
#172F50 #50174B #503817 #17501B
square
#172F50 #50174B #503817 #17501B
split-complementary
#172F50 #501B17 #4B5017
monochromatic
#070E18 #091320 #172F50 #254B80 #3267AF
Accessibility & contrast
On white
13.47
#172F50 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#172F50 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172F50
13.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172F50 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172F50 | 1.00 | 13.47 | 1.56 | 13.47 |
| #FFFFFF | 13.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#203151
Deuteranopia (green-blind)
#182C4F
Tritanopia (blue-blind)
#00373B
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #172f50; /* rgb */ color: rgb(23, 47, 80); /* oklch */ color: oklch(30.4% 0.067 256.8);
Tailwind
colors: {
custom: {
50: '#5b6781',
500: '#172f50',
950: '#000000',
},
}SCSS
$custom: #172f50; $custom-light: #5b6781; $custom-dark: #000000;
JSON
{
"hex": "#172f50",
"rgb": {
"r": 23,
"g": 47,
"b": 80
},
"hsl": {
"h": 214.737,
"s": 55.34,
"l": 20.196
},
"oklch": {
"l": 0.30417,
"c": 0.06714,
"h": 256.8
},
"luminance": 0.02794
}Semantic roles & 50–950 ramp
primary
#172F50
secondary
#87673C
accent
#A049DF
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C