#172F6F#172F6F
#172F6F is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.9% C 0.115 H 265.1°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).
Color values
| HEX | #172F6F |
|---|---|
| RGB | rgb(23, 47, 111) |
| HSL | hsl(224, 66%, 26%) |
| HSV | hsv(224, 79%, 44%) |
| CMYK | cmyk(79.3%, 57.7%, 0%, 56.5%) |
| CIE-LAB | lab(21.44, 15.92, -39.79) |
| CIE-LCH | lch(21.44, 42.86, 291.81°) |
| OKLab | oklab(32.85% -0.0099 -0.1147) |
| OKLCH | oklch(32.85% 0.115 265.1) |
| XYZ | xyz(4.2381, 3.3624, 15.4615) |
| Luminance | 0.0336 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 3.56
Marine Blue
#01386A
ΔE00 5.41
Navy Blue
#1B2A4A
ΔE00 6.97
Darkish Blue
#014182
ΔE00 7.15
Midnight Blue
#191970
ΔE00 7.63
Twilight Blue
#0A437A
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172F6F #6F5717
analogous
#175B6F #172F6F #2B176F
triadic
#172F6F #6F172F #2F6F17
tetradic
#172F6F #6F175B #6F5717 #176F2B
square
#172F6F #6F175B #6F5717 #176F2B
split-complementary
#172F6F #6F2B17 #5B6F17
monochromatic
#050B19 #0C1A3C #172F6F #2244A2 #2D5AD3
Accessibility & contrast
On white
12.56
#172F6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#172F6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172F6F
12.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172F6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172F6F | 1.00 | 12.56 | 1.67 | 12.56 |
| #FFFFFF | 12.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#00306E
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #172f6f; /* rgb */ color: rgb(23, 47, 111); /* oklch */ color: oklch(32.9% 0.115 265.1);
Tailwind
colors: {
custom: {
50: '#636799',
500: '#172f6f',
950: '#000000',
},
}SCSS
$custom: #172f6f; $custom-light: #636799; $custom-dark: #000000;
JSON
{
"hex": "#172f6f",
"rgb": {
"r": 23,
"g": 47,
"b": 111
},
"hsl": {
"h": 223.636,
"s": 65.672,
"l": 26.275
},
"oklch": {
"l": 0.32852,
"c": 0.11513,
"h": 265.1
},
"luminance": 0.03363
}Semantic roles & 50–950 ramp
primary
#172F6F
secondary
#A5883D
accent
#BA3FE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E