#2E20A3#2E20A3
#2E20A3 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.0% C 0.195 H 275.8°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2E20A3 |
|---|---|
| RGB | rgb(46, 32, 163) |
| HSL | hsl(246, 67%, 38%) |
| HSV | hsv(246, 80%, 64%) |
| CMYK | cmyk(71.8%, 80.4%, 0%, 36.1%) |
| CIE-LAB | lab(24.50, 46.81, -67.21) |
| CIE-LCH | lch(24.50, 81.90, 304.86°) |
| OKLab | oklab(36.99% 0.0197 -0.1943) |
| OKLCH | oklch(36.99% 0.195 275.8) |
| XYZ | xyz(8.2519, 4.2574, 35.0301) |
| Luminance | 0.0426 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.65
Royal
#0C1793
ΔE00 3.86
Cobalt Blue
#030AA7
ΔE00 3.96
Ultramarine
#2000B1
ΔE00 4.18
Royal Blue (survey)
#0504AA
ΔE00 4.34
True Blue
#010FCC
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E20A3 #95A320
analogous
#2053A3 #2E20A3 #6F20A3
triadic
#2E20A3 #A32E20 #20A32E
tetradic
#2E20A3 #A32053 #95A320 #20A36F
square
#2E20A3 #A32053 #95A320 #20A36F
split-complementary
#2E20A3 #A36F20 #53A320
monochromatic
#110C3D #201670 #2E20A3 #3D2BD5 #6C5EDF
Accessibility & contrast
On white
11.34
#2E20A3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#2E20A3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E20A3
11.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E20A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E20A3 | 1.00 | 11.34 | 1.85 | 11.34 |
| #FFFFFF | 11.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040A7
Deuteranopia (green-blind)
#0034A1
Tritanopia (blue-blind)
#004862
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2e20a3; /* rgb */ color: rgb(46, 32, 163); /* oklch */ color: oklch(37.0% 0.195 275.8);
Tailwind
colors: {
custom: {
50: '#7a5fc0',
500: '#2e20a3',
950: '#000000',
},
}SCSS
$custom: #2e20a3; $custom-light: #7a5fc0; $custom-dark: #000000;
JSON
{
"hex": "#2e20a3",
"rgb": {
"r": 46,
"g": 32,
"b": 163
},
"hsl": {
"h": 246.412,
"s": 67.179,
"l": 38.235
},
"oklch": {
"l": 0.36987,
"c": 0.19529,
"h": 275.8
},
"luminance": 0.04258
}Semantic roles & 50–950 ramp
primary
#2E20A3
secondary
#B9C45B
accent
#EA3ED8
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0512
muted
#7C7981