#20176F#20176F
#20176F is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.9% C 0.143 H 277.2°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).
Color values
| HEX | #20176F |
|---|---|
| RGB | rgb(32, 23, 111) |
| HSL | hsl(246, 66%, 26%) |
| HSV | hsv(246, 79%, 44%) |
| CMYK | cmyk(71.2%, 79.3%, 0%, 56.5%) |
| CIE-LAB | lab(15.84, 33.30, -48.94) |
| CIE-LCH | lch(15.84, 59.20, 304.23°) |
| OKLab | oklab(28.9% 0.0179 -0.1414) |
| OKLCH | oklch(28.9% 0.143 277.2) |
| XYZ | xyz(3.7704, 2.0672, 15.2362) |
| Luminance | 0.0207 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.12
Dark Royal Blue
#02066F
ΔE00 3.92
Darkblue (survey)
#030764
ΔE00 4.06
Deep Blue
#040273
ΔE00 4.52
Dark Indigo
#1F0954
ΔE00 5.23
Navy
#000080
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20176F #666F17
analogous
#173A6F #20176F #4C176F
triadic
#20176F #6F2017 #176F20
tetradic
#20176F #6F173A #666F17 #176F4C
square
#20176F #6F173A #666F17 #176F4C
split-complementary
#20176F #6F4C17 #3A6F17
monochromatic
#070519 #110C3C #20176F #2F22A2 #3E2DD3
Accessibility & contrast
On white
14.86
#20176F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.41
#20176F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20176F
14.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20176F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20176F | 1.00 | 14.86 | 1.41 | 14.86 |
| #FFFFFF | 14.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B72
Deuteranopia (green-blind)
#00246D
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #20176f; /* rgb */ color: rgb(32, 23, 111); /* oklch */ color: oklch(28.9% 0.143 277.2);
Tailwind
colors: {
custom: {
50: '#695699',
500: '#20176f',
950: '#000000',
},
}SCSS
$custom: #20176f; $custom-light: #695699; $custom-dark: #000000;
JSON
{
"hex": "#20176f",
"rgb": {
"r": 32,
"g": 23,
"b": 111
},
"hsl": {
"h": 246.136,
"s": 65.672,
"l": 26.275
},
"oklch": {
"l": 0.28898,
"c": 0.14255,
"h": 277.2
},
"luminance": 0.02068
}Semantic roles & 50–950 ramp
primary
#20176F
secondary
#9AA53D
accent
#E93FD7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E