#172E94#172E94
#172E94 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.168 H 266.8°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).
Color values
| HEX | #172E94 |
|---|---|
| RGB | rgb(23, 46, 148) |
| HSL | hsl(229, 73%, 34%) |
| HSV | hsv(229, 84%, 58%) |
| CMYK | cmyk(84.5%, 68.9%, 0%, 42%) |
| CIE-LAB | lab(24.56, 31.47, -57.99) |
| CIE-LCH | lch(24.56, 65.98, 298.49°) |
| OKLab | oklab(36.21% -0.0093 -0.168) |
| OKLCH | oklch(36.21% 0.168 266.8) |
| XYZ | xyz(6.6738, 4.2735, 28.4843) |
| Luminance | 0.0427 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.11
Royal
#0C1793
ΔE00 5.82
Blueberry
#464196
ΔE00 7.19
Midnight Blue
#191970
ΔE00 7.34
Darkslateblue
#483D8B
ΔE00 7.53
Indigo Blue
#3A18B1
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172E94 #947D17
analogous
#176C94 #172E94 #3E1794
triadic
#172E94 #94172E #2E9417
tetradic
#172E94 #94176C #947D17 #17943E
square
#172E94 #94176C #947D17 #17943E
split-complementary
#172E94 #943E17 #6C9417
monochromatic
#070D2A #0F1E5F #172E94 #1F3EC9 #4461E2
Accessibility & contrast
On white
11.32
#172E94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#172E94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172E94
11.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172E94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172E94 | 1.00 | 11.32 | 1.85 | 11.32 |
| #FFFFFF | 11.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#003492
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #172e94; /* rgb */ color: rgb(23, 46, 148); /* oklch */ color: oklch(36.2% 0.168 266.8);
Tailwind
colors: {
custom: {
50: '#6d66b4',
500: '#172e94',
950: '#000000',
},
}SCSS
$custom: #172e94; $custom-light: #6d66b4; $custom-dark: #000000;
JSON
{
"hex": "#172e94",
"rgb": {
"r": 23,
"g": 46,
"b": 148
},
"hsl": {
"h": 228.96,
"s": 73.099,
"l": 33.529
},
"oklch": {
"l": 0.36206,
"c": 0.16829,
"h": 266.8
},
"luminance": 0.04274
}Semantic roles & 50–950 ramp
primary
#172E94
secondary
#C3AB44
accent
#CE38F0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80