#20328F#20328F
#20328F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.8% C 0.154 H 268.8°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).
Color values
| HEX | #20328F |
|---|---|
| RGB | rgb(32, 50, 143) |
| HSL | hsl(230, 63%, 34%) |
| HSV | hsv(230, 78%, 56%) |
| CMYK | cmyk(77.6%, 65%, 0%, 43.9%) |
| CIE-LAB | lab(25.47, 27.70, -53.38) |
| CIE-LCH | lch(25.47, 60.14, 297.42°) |
| OKLab | oklab(36.84% -0.0033 -0.1544) |
| OKLCH | oklch(36.84% 0.154 268.8) |
| XYZ | xyz(6.6925, 4.5707, 26.5108) |
| Luminance | 0.0457 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.20
Blueberry
#464196
ΔE00 6.17
Darkslateblue
#483D8B
ΔE00 6.49
Royal
#0C1793
ΔE00 7.12
Midnight Blue
#191970
ΔE00 7.79
Cobalt
#0047AB
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20328F #8F7D20
analogous
#206A8F #20328F #45208F
triadic
#20328F #8F2032 #328F20
tetradic
#20328F #8F206A #8F7D20 #208F45
square
#20328F #8F206A #8F7D20 #208F45
split-complementary
#20328F #8F4520 #6A8F20
monochromatic
#0A0F2B #15215D #20328F #2B43C1 #5167D8
Accessibility & contrast
On white
10.97
#20328F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#20328F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20328F
10.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20328F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20328F | 1.00 | 10.97 | 1.91 | 10.97 |
| #FFFFFF | 10.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #20328f; /* rgb */ color: rgb(32, 50, 143); /* oklch */ color: oklch(36.8% 0.154 268.8);
Tailwind
colors: {
custom: {
50: '#6e69b1',
500: '#20328f',
950: '#000000',
},
}SCSS
$custom: #20328f; $custom-light: #6e69b1; $custom-dark: #000000;
JSON
{
"hex": "#20328f",
"rgb": {
"r": 32,
"g": 50,
"b": 143
},
"hsl": {
"h": 230.27,
"s": 63.429,
"l": 34.314
},
"oklch": {
"l": 0.36841,
"c": 0.15439,
"h": 268.8
},
"luminance": 0.04571
}Semantic roles & 50–950 ramp
primary
#20328F
secondary
#BBAA4F
accent
#CC41E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80