#172176#172176
#172176 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.7% C 0.143 H 269.8°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).
Color values
| HEX | #172176 |
|---|---|
| RGB | rgb(23, 33, 118) |
| HSL | hsl(234, 67%, 28%) |
| HSV | hsv(234, 81%, 46%) |
| CMYK | cmyk(80.5%, 72%, 0%, 53.7%) |
| CIE-LAB | lab(18.27, 28.60, -49.48) |
| CIE-LCH | lch(18.27, 57.15, 300.02°) |
| OKLab | oklab(30.7% -0.0005 -0.1433) |
| OKLCH | oklch(30.7% 0.143 269.8) |
| XYZ | xyz(4.1661, 2.5774, 17.4140) |
| Luminance | 0.0258 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.38
Royal
#0C1793
ΔE00 5.37
Dark Royal Blue
#02066F
ΔE00 6.24
Darkblue (survey)
#030764
ΔE00 6.48
Deep Blue
#040273
ΔE00 6.88
Navy
#000080
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172176 #766C17
analogous
#175176 #172176 #3C1776
triadic
#172176 #761721 #217617
tetradic
#172176 #761751 #766C17 #17763C
square
#172176 #761751 #766C17 #17763C
split-complementary
#172176 #763C17 #517617
monochromatic
#05071A #0D1343 #172176 #212FA9 #3142D7
Accessibility & contrast
On white
13.86
#172176 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#172176 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172176
13.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172176 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172176 | 1.00 | 13.86 | 1.52 | 13.86 |
| #FFFFFF | 13.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003179
Deuteranopia (green-blind)
#002874
Tritanopia (blue-blind)
#003848
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #172176; /* rgb */ color: rgb(23, 33, 118); /* oklch */ color: oklch(30.7% 0.143 269.8);
Tailwind
colors: {
custom: {
50: '#665c9e',
500: '#172176',
950: '#000000',
},
}SCSS
$custom: #172176; $custom-light: #665c9e; $custom-dark: #000000;
JSON
{
"hex": "#172176",
"rgb": {
"r": 23,
"g": 33,
"b": 118
},
"hsl": {
"h": 233.684,
"s": 67.376,
"l": 27.647
},
"oklch": {
"l": 0.30704,
"c": 0.14327,
"h": 269.8
},
"luminance": 0.02578
}Semantic roles & 50–950 ramp
primary
#172176
secondary
#ABA03E
accent
#D83EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E