#172C94#172C94
#172C94 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.9% C 0.171 H 267.2°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).
Color values
| HEX | #172C94 |
|---|---|
| RGB | rgb(23, 44, 148) |
| HSL | hsl(230, 73%, 34%) |
| HSV | hsv(230, 84%, 58%) |
| CMYK | cmyk(84.5%, 70.3%, 0%, 42%) |
| CIE-LAB | lab(24.07, 32.78, -58.79) |
| CIE-LCH | lch(24.07, 67.32, 299.15°) |
| OKLab | oklab(35.85% -0.0084 -0.1704) |
| OKLCH | oklch(35.85% 0.171 267.2) |
| XYZ | xyz(6.5975, 4.1208, 28.4589) |
| Luminance | 0.0412 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.44
Royal
#0C1793
ΔE00 5.21
Midnight Blue
#191970
ΔE00 6.94
Cobalt Blue
#030AA7
ΔE00 7.25
Indigo Blue
#3A18B1
ΔE00 7.39
Blueberry
#464196
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172C94 #947F17
analogous
#176A94 #172C94 #401794
triadic
#172C94 #94172C #2C9417
tetradic
#172C94 #94176A #947F17 #179440
square
#172C94 #94176A #947F17 #179440
split-complementary
#172C94 #944017 #6A9417
monochromatic
#070D2A #0F1C5F #172C94 #1F3CC9 #445EE2
Accessibility & contrast
On white
11.51
#172C94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#172C94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172C94
11.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172C94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172C94 | 1.00 | 11.51 | 1.82 | 11.51 |
| #FFFFFF | 11.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003392
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #172c94; /* rgb */ color: rgb(23, 44, 148); /* oklch */ color: oklch(35.9% 0.171 267.2);
Tailwind
colors: {
custom: {
50: '#6d65b4',
500: '#172c94',
950: '#000000',
},
}SCSS
$custom: #172c94; $custom-light: #6d65b4; $custom-dark: #000000;
JSON
{
"hex": "#172c94",
"rgb": {
"r": 23,
"g": 44,
"b": 148
},
"hsl": {
"h": 229.92,
"s": 73.099,
"l": 33.529
},
"oklch": {
"l": 0.3585,
"c": 0.1706,
"h": 267.2
},
"luminance": 0.04122
}Semantic roles & 50–950 ramp
primary
#172C94
secondary
#C3AD44
accent
#D138F0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80