#20309C#20309C
#20309C is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.174 H 269.0°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).
Color values
| HEX | #20309C |
|---|---|
| RGB | rgb(32, 48, 156) |
| HSL | hsl(232, 66%, 37%) |
| HSV | hsv(232, 79%, 61%) |
| CMYK | cmyk(79.5%, 69.2%, 0%, 38.8%) |
| CIE-LAB | lab(26.22, 33.92, -60.15) |
| CIE-LCH | lch(26.22, 69.05, 299.42°) |
| OKLab | oklab(37.76% -0.0029 -0.1742) |
| OKLCH | oklch(37.76% 0.174 269) |
| XYZ | xyz(7.6513, 4.8204, 31.9732) |
| Luminance | 0.0482 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.92
Royal
#0C1793
ΔE00 6.17
Blueberry
#464196
ΔE00 6.46
Indigo Blue
#3A18B1
ΔE00 6.95
Darkslateblue
#483D8B
ΔE00 7.07
Blue Blue
#2242C7
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20309C #9C8C20
analogous
#206E9C #20309C #4E209C
triadic
#20309C #9C2030 #309C20
tetradic
#20309C #9C206E #9C8C20 #209C4E
square
#20309C #9C206E #9C8C20 #209C4E
split-complementary
#20309C #9C4E20 #6E9C20
monochromatic
#0B1136 #162069 #20309C #2A40CF #596ADD
Accessibility & contrast
On white
10.69
#20309C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#20309C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20309C
10.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20309C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20309C | 1.00 | 10.69 | 1.96 | 10.69 |
| #FFFFFF | 10.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#00389A
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #20309c; /* rgb */ color: rgb(32, 48, 156); /* oklch */ color: oklch(37.8% 0.174 269.0);
Tailwind
colors: {
custom: {
50: '#7268ba',
500: '#20309c',
950: '#000000',
},
}SCSS
$custom: #20309c; $custom-light: #7268ba; $custom-dark: #000000;
JSON
{
"hex": "#20309c",
"rgb": {
"r": 32,
"g": 48,
"b": 156
},
"hsl": {
"h": 232.258,
"s": 65.957,
"l": 36.863
},
"oklch": {
"l": 0.37761,
"c": 0.17418,
"h": 269
},
"luminance": 0.04821
}Semantic roles & 50–950 ramp
primary
#20309C
secondary
#C1B357
accent
#D33FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81