#172C73#172C73
#172C73 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.6% C 0.125 H 266.6°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).
Color values
| HEX | #172C73 |
|---|---|
| RGB | rgb(23, 44, 115) |
| HSL | hsl(226, 67%, 27%) |
| HSV | hsv(226, 80%, 45%) |
| CMYK | cmyk(80%, 61.7%, 0%, 54.9%) |
| CIE-LAB | lab(20.91, 19.73, -43.23) |
| CIE-LCH | lch(20.91, 47.52, 294.53°) |
| OKLab | oklab(32.56% -0.0074 -0.1249) |
| OKLCH | oklch(32.56% 0.125 266.6) |
| XYZ | xyz(4.3475, 3.2208, 16.6089) |
| Luminance | 0.0322 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.79
Midnight Blue
#191970
ΔE00 6.19
Marine Blue
#01386A
ΔE00 6.70
Navy Blue
#1B2A4A
ΔE00 7.83
Darkish Blue
#014182
ΔE00 8.16
Royal
#0C1793
ΔE00 8.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172C73 #735E17
analogous
#175A73 #172C73 #301773
triadic
#172C73 #73172C #2C7317
tetradic
#172C73 #73175A #735E17 #177330
square
#172C73 #73175A #735E17 #177330
split-complementary
#172C73 #733017 #5A7317
monochromatic
#050A1A #0D1840 #172C73 #2140A6 #2F55D5
Accessibility & contrast
On white
12.77
#172C73 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#172C73 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172C73
12.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172C73 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172C73 | 1.00 | 12.77 | 1.64 | 12.77 |
| #FFFFFF | 12.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003775
Deuteranopia (green-blind)
#002E72
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #172c73; /* rgb */ color: rgb(23, 44, 115); /* oklch */ color: oklch(32.6% 0.125 266.6);
Tailwind
colors: {
custom: {
50: '#64649c',
500: '#172c73',
950: '#000000',
},
}SCSS
$custom: #172c73; $custom-light: #64649c; $custom-dark: #000000;
JSON
{
"hex": "#172c73",
"rgb": {
"r": 23,
"g": 44,
"b": 115
},
"hsl": {
"h": 226.304,
"s": 66.667,
"l": 27.059
},
"oklch": {
"l": 0.32559,
"c": 0.12508,
"h": 266.6
},
"luminance": 0.03221
}Semantic roles & 50–950 ramp
primary
#172C73
secondary
#A9903D
accent
#C23EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E