#172C75#172C75
#172C75 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.7% C 0.128 H 266.7°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).
Color values
| HEX | #172C75 |
|---|---|
| RGB | rgb(23, 44, 117) |
| HSL | hsl(227, 67%, 27%) |
| HSV | hsv(227, 80%, 46%) |
| CMYK | cmyk(80.3%, 62.4%, 0%, 54.1%) |
| CIE-LAB | lab(21.08, 20.55, -44.22) |
| CIE-LCH | lch(21.08, 48.76, 294.92°) |
| OKLab | oklab(32.75% -0.0073 -0.1278) |
| OKLCH | oklch(32.75% 0.128 266.7) |
| XYZ | xyz(4.4638, 3.2674, 17.2216) |
| Luminance | 0.0327 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.06
Midnight Blue
#191970
ΔE00 6.07
Marine Blue
#01386A
ΔE00 6.85
Navy Blue
#1B2A4A
ΔE00 8.14
Darkish Blue
#014182
ΔE00 8.18
Royal
#0C1793
ΔE00 8.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172C75 #756017
analogous
#175B75 #172C75 #311775
triadic
#172C75 #75172C #2C7517
tetradic
#172C75 #75175B #756017 #177531
square
#172C75 #75175B #756017 #177531
split-complementary
#172C75 #753117 #5B7517
monochromatic
#050A1A #0D1942 #172C75 #213FA8 #3055D6
Accessibility & contrast
On white
12.70
#172C75 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#172C75 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172C75
12.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172C75 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172C75 | 1.00 | 12.70 | 1.65 | 12.70 |
| #FFFFFF | 12.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003777
Deuteranopia (green-blind)
#002E74
Tritanopia (blue-blind)
#003F4C
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #172c75; /* rgb */ color: rgb(23, 44, 117); /* oklch */ color: oklch(32.7% 0.128 266.7);
Tailwind
colors: {
custom: {
50: '#65649d',
500: '#172c75',
950: '#000000',
},
}SCSS
$custom: #172c75; $custom-light: #65649d; $custom-dark: #000000;
JSON
{
"hex": "#172c75",
"rgb": {
"r": 23,
"g": 44,
"b": 117
},
"hsl": {
"h": 226.596,
"s": 67.143,
"l": 27.451
},
"oklch": {
"l": 0.32746,
"c": 0.12798,
"h": 266.7
},
"luminance": 0.03268
}Semantic roles & 50–950 ramp
primary
#172C75
secondary
#AA923D
accent
#C43EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E