#172279#172279
#172279 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.2% C 0.146 H 269.5°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).
Color values
| HEX | #172279 |
|---|---|
| RGB | rgb(23, 34, 121) |
| HSL | hsl(233, 68%, 28%) |
| HSV | hsv(233, 81%, 47%) |
| CMYK | cmyk(81%, 71.9%, 0%, 52.5%) |
| CIE-LAB | lab(18.83, 29.08, -50.48) |
| CIE-LCH | lch(18.83, 58.26, 299.95°) |
| OKLab | oklab(31.21% -0.0013 -0.1462) |
| OKLCH | oklch(31.21% 0.146 269.5) |
| XYZ | xyz(4.3754, 2.7062, 18.3772) |
| Luminance | 0.0271 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.74
Royal
#0C1793
ΔE00 5.10
Dark Royal Blue
#02066F
ΔE00 6.48
Darkblue (survey)
#030764
ΔE00 6.82
Deep Blue
#040273
ΔE00 7.07
Navy
#000080
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172279 #796E17
analogous
#175379 #172279 #3D1779
triadic
#172279 #791722 #227917
tetradic
#172279 #791753 #796E17 #17793D
square
#172279 #791753 #796E17 #17793D
split-complementary
#172279 #793D17 #537917
monochromatic
#05071A #0D1446 #172279 #2130AC #3245D8
Accessibility & contrast
On white
13.62
#172279 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#172279 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172279
13.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172279 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172279 | 1.00 | 13.62 | 1.54 | 13.62 |
| #FFFFFF | 13.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00337C
Deuteranopia (green-blind)
#002977
Tritanopia (blue-blind)
#003A4A
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #172279; /* rgb */ color: rgb(23, 34, 121); /* oklch */ color: oklch(31.2% 0.146 269.5);
Tailwind
colors: {
custom: {
50: '#675da1',
500: '#172279',
950: '#000000',
},
}SCSS
$custom: #172279; $custom-light: #675da1; $custom-dark: #000000;
JSON
{
"hex": "#172279",
"rgb": {
"r": 23,
"g": 34,
"b": 121
},
"hsl": {
"h": 233.265,
"s": 68.056,
"l": 28.235
},
"oklch": {
"l": 0.31205,
"c": 0.14618,
"h": 269.5
},
"luminance": 0.02707
}Semantic roles & 50–950 ramp
primary
#172279
secondary
#AEA13E
accent
#D73DEB
background
#F6F5FA
surface
#EBE9F3
border
#C6C5CD
text
#07040F
muted
#7A797F