#172C90#172C90
#172C90 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.165 H 267.2°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).
Color values
| HEX | #172C90 |
|---|---|
| RGB | rgb(23, 44, 144) |
| HSL | hsl(230, 72%, 33%) |
| HSV | hsv(230, 84%, 56%) |
| CMYK | cmyk(84%, 69.4%, 0%, 43.5%) |
| CIE-LAB | lab(23.66, 31.26, -56.99) |
| CIE-LCH | lch(23.66, 65.00, 298.74°) |
| OKLab | oklab(35.43% -0.0081 -0.1651) |
| OKLCH | oklch(35.43% 0.165 267.2) |
| XYZ | xyz(6.2863, 3.9964, 26.8202) |
| Luminance | 0.0400 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.84
Royal
#0C1793
ΔE00 5.38
Midnight Blue
#191970
ΔE00 6.60
Blueberry
#464196
ΔE00 7.56
Cobalt Blue
#030AA7
ΔE00 7.61
Darkslateblue
#483D8B
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172C90 #907B17
analogous
#176890 #172C90 #3F1790
triadic
#172C90 #90172C #2C9017
tetradic
#172C90 #901768 #907B17 #17903F
square
#172C90 #901768 #907B17 #17903F
split-complementary
#172C90 #903F17 #689017
monochromatic
#060C26 #0F1C5B #172C90 #1F3CC5 #415DE1
Accessibility & contrast
On white
11.67
#172C90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#172C90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172C90
11.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172C90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172C90 | 1.00 | 11.67 | 1.80 | 11.67 |
| #FFFFFF | 11.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#00338E
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #172c90; /* rgb */ color: rgb(23, 44, 144); /* oklch */ color: oklch(35.4% 0.165 267.2);
Tailwind
colors: {
custom: {
50: '#6c65b2',
500: '#172c90',
950: '#000000',
},
}SCSS
$custom: #172c90; $custom-light: #6c65b2; $custom-dark: #000000;
JSON
{
"hex": "#172c90",
"rgb": {
"r": 23,
"g": 44,
"b": 144
},
"hsl": {
"h": 229.587,
"s": 72.455,
"l": 32.745
},
"oklch": {
"l": 0.35431,
"c": 0.16534,
"h": 267.2
},
"luminance": 0.03997
}Semantic roles & 50–950 ramp
primary
#172C90
secondary
#C1AB42
accent
#CF39EF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80