#2C22A3#2C22A3
#2C22A3 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.1% C 0.194 H 274.8°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2C22A3 |
|---|---|
| RGB | rgb(44, 34, 163) |
| HSL | hsl(245, 65%, 39%) |
| HSV | hsv(245, 79%, 64%) |
| CMYK | cmyk(73%, 79.1%, 0%, 36.1%) |
| CIE-LAB | lab(24.71, 45.62, -66.87) |
| CIE-LCH | lch(24.71, 80.95, 304.31°) |
| OKLab | oklab(37.09% 0.0162 -0.1934) |
| OKLCH | oklch(37.09% 0.194 274.8) |
| XYZ | xyz(8.2194, 4.3231, 35.0445) |
| Luminance | 0.0432 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.98
Royal
#0C1793
ΔE00 3.92
Cobalt Blue
#030AA7
ΔE00 4.22
Ultramarine
#2000B1
ΔE00 4.54
Royal Blue (survey)
#0504AA
ΔE00 4.63
True Blue
#010FCC
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C22A3 #99A322
analogous
#2258A3 #2C22A3 #6C22A3
triadic
#2C22A3 #A32C22 #22A32C
tetradic
#2C22A3 #A32258 #99A322 #22A36C
square
#2C22A3 #A32258 #99A322 #22A36C
split-complementary
#2C22A3 #A36C22 #58A322
monochromatic
#110D3E #1E1770 #2C22A3 #3B2FD4 #6B61DE
Accessibility & contrast
On white
11.26
#2C22A3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#2C22A3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C22A3
11.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C22A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C22A3 | 1.00 | 11.26 | 1.86 | 11.26 |
| #FFFFFF | 11.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040A7
Deuteranopia (green-blind)
#0035A1
Tritanopia (blue-blind)
#004962
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2c22a3; /* rgb */ color: rgb(44, 34, 163); /* oklch */ color: oklch(37.1% 0.194 274.8);
Tailwind
colors: {
custom: {
50: '#7960c0',
500: '#2c22a3',
950: '#000000',
},
}SCSS
$custom: #2c22a3; $custom-light: #7960c0; $custom-dark: #000000;
JSON
{
"hex": "#2c22a3",
"rgb": {
"r": 44,
"g": 34,
"b": 163
},
"hsl": {
"h": 244.651,
"s": 65.482,
"l": 38.627
},
"oklch": {
"l": 0.37094,
"c": 0.19407,
"h": 274.8
},
"luminance": 0.04324
}Semantic roles & 50–950 ramp
primary
#2C22A3
secondary
#BBC35E
accent
#E83FDB
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0512
muted
#7C7981