#2C20A3#2C20A3
#2C20A3 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.8% C 0.196 H 275.0°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2C20A3 |
|---|---|
| RGB | rgb(44, 32, 163) |
| HSL | hsl(245, 67%, 38%) |
| HSV | hsv(245, 80%, 64%) |
| CMYK | cmyk(73%, 80.4%, 0%, 36.1%) |
| CIE-LAB | lab(24.36, 46.64, -67.45) |
| CIE-LCH | lch(24.36, 82.01, 304.66°) |
| OKLab | oklab(36.85% 0.017 -0.195) |
| OKLCH | oklch(36.85% 0.196 275) |
| XYZ | xyz(8.1639, 4.2120, 35.0260) |
| Luminance | 0.0421 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.77
Royal
#0C1793
ΔE00 3.73
Cobalt Blue
#030AA7
ΔE00 3.87
Ultramarine
#2000B1
ΔE00 4.16
Royal Blue (survey)
#0504AA
ΔE00 4.26
True Blue
#010FCC
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C20A3 #97A320
analogous
#2055A3 #2C20A3 #6D20A3
triadic
#2C20A3 #A32C20 #20A32C
tetradic
#2C20A3 #A32055 #97A320 #20A36D
square
#2C20A3 #A32055 #97A320 #20A36D
split-complementary
#2C20A3 #A36D20 #55A320
monochromatic
#100C3D #1E1670 #2C20A3 #3A2BD5 #6A5EDF
Accessibility & contrast
On white
11.40
#2C20A3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#2C20A3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C20A3
11.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C20A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C20A3 | 1.00 | 11.40 | 1.84 | 11.40 |
| #FFFFFF | 11.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.40 | 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: #2c20a3; /* rgb */ color: rgb(44, 32, 163); /* oklch */ color: oklch(36.8% 0.196 275.0);
Tailwind
colors: {
custom: {
50: '#795fc0',
500: '#2c20a3',
950: '#000000',
},
}SCSS
$custom: #2c20a3; $custom-light: #795fc0; $custom-dark: #000000;
JSON
{
"hex": "#2c20a3",
"rgb": {
"r": 44,
"g": 32,
"b": 163
},
"hsl": {
"h": 245.496,
"s": 67.179,
"l": 38.235
},
"oklch": {
"l": 0.36849,
"c": 0.19579,
"h": 275
},
"luminance": 0.04213
}Semantic roles & 50–950 ramp
primary
#2C20A3
secondary
#BAC45B
accent
#EA3EDA
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0512
muted
#7C7981