#172276#172276
#172276 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.9% C 0.142 H 269.6°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).
Color values
| HEX | #172276 |
|---|---|
| RGB | rgb(23, 34, 118) |
| HSL | hsl(233, 67%, 28%) |
| HSV | hsv(233, 81%, 46%) |
| CMYK | cmyk(80.5%, 71.2%, 0%, 53.7%) |
| CIE-LAB | lab(18.51, 27.93, -49.08) |
| CIE-LCH | lch(18.51, 56.46, 299.64°) |
| OKLab | oklab(30.88% -0.001 -0.1421) |
| OKLCH | oklch(30.88% 0.142 269.6) |
| XYZ | xyz(4.1943, 2.6338, 17.4233) |
| Luminance | 0.0263 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.67
Royal
#0C1793
ΔE00 5.56
Dark Royal Blue
#02066F
ΔE00 6.55
Darkblue (survey)
#030764
ΔE00 6.76
Deep Blue
#040273
ΔE00 7.19
Navy
#000080
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172276 #766B17
analogous
#175176 #172276 #3C1776
triadic
#172276 #761722 #227617
tetradic
#172276 #761751 #766B17 #17763C
square
#172276 #761751 #766B17 #17763C
split-complementary
#172276 #763C17 #517617
monochromatic
#05071A #0D1343 #172276 #2131A9 #3144D7
Accessibility & contrast
On white
13.75
#172276 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#172276 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172276
13.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172276 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172276 | 1.00 | 13.75 | 1.53 | 13.75 |
| #FFFFFF | 13.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#002974
Tritanopia (blue-blind)
#003949
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #172276; /* rgb */ color: rgb(23, 34, 118); /* oklch */ color: oklch(30.9% 0.142 269.6);
Tailwind
colors: {
custom: {
50: '#665d9e',
500: '#172276',
950: '#000000',
},
}SCSS
$custom: #172276; $custom-light: #665d9e; $custom-dark: #000000;
JSON
{
"hex": "#172276",
"rgb": {
"r": 23,
"g": 34,
"b": 118
},
"hsl": {
"h": 233.053,
"s": 67.376,
"l": 27.647
},
"oklch": {
"l": 0.30883,
"c": 0.14207,
"h": 269.6
},
"luminance": 0.02634
}Semantic roles & 50–950 ramp
primary
#172276
secondary
#AB9F3E
accent
#D63EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E