#2C20B3#2C20B3
#2C20B3 is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.7% C 0.214 H 273.4°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2C20B3 |
|---|---|
| RGB | rgb(44, 32, 179) |
| HSL | hsl(245, 70%, 41%) |
| HSV | hsv(245, 82%, 70%) |
| CMYK | cmyk(75.4%, 82.1%, 0%, 29.8%) |
| CIE-LAB | lab(26.22, 51.58, -74.01) |
| CIE-LCH | lch(26.22, 90.21, 304.88°) |
| OKLab | oklab(38.68% 0.0129 -0.2141) |
| OKLCH | oklch(38.68% 0.214 273.4) |
| XYZ | xyz(9.6892, 4.8222, 43.0592) |
| Luminance | 0.0482 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 1.89
True Blue
#010FCC
ΔE00 3.47
Ultramarine
#2000B1
ΔE00 4.00
Mediumblue
#0000CD
ΔE00 4.18
Cobalt Blue
#030AA7
ΔE00 4.44
Royal Blue (survey)
#0504AA
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C20B3 #A7B320
analogous
#205EB3 #2C20B3 #7620B3
triadic
#2C20B3 #B32C20 #20B32C
tetradic
#2C20B3 #B3205E #A7B320 #20B376
square
#2C20B3 #B3205E #A7B320 #20B376
split-complementary
#2C20B3 #B37620 #5EB320
monochromatic
#120D4B #1F177F #2C20B3 #4335DB #7369E4
Accessibility & contrast
On white
10.69
#2C20B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#2C20B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C20B3
10.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C20B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C20B3 | 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)
#0045B7
Deuteranopia (green-blind)
#0037B1
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2c20b3; /* rgb */ color: rgb(44, 32, 179); /* oklch */ color: oklch(38.7% 0.214 273.4);
Tailwind
colors: {
custom: {
50: '#7d60cb',
500: '#2c20b3',
950: '#000000',
},
}SCSS
$custom: #2c20b3; $custom-light: #7d60cb; $custom-dark: #000000;
JSON
{
"hex": "#2c20b3",
"rgb": {
"r": 44,
"g": 32,
"b": 179
},
"hsl": {
"h": 244.898,
"s": 69.668,
"l": 41.373
},
"oklch": {
"l": 0.38682,
"c": 0.21445,
"h": 273.4
},
"luminance": 0.04823
}Semantic roles & 50–950 ramp
primary
#2C20B3
secondary
#C2CA65
accent
#EC3BDE
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0514
muted
#7D7982