#2C22A0#2C22A0
#2C22A0 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.8% C 0.190 H 275.1°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2C22A0 |
|---|---|
| RGB | rgb(44, 34, 160) |
| HSL | hsl(245, 65%, 38%) |
| HSV | hsv(245, 79%, 63%) |
| CMYK | cmyk(72.5%, 78.8%, 0%, 37.3%) |
| CIE-LAB | lab(24.38, 44.67, -65.60) |
| CIE-LCH | lch(24.38, 79.36, 304.25°) |
| OKLab | oklab(36.76% 0.0169 -0.1897) |
| OKLCH | oklch(36.76% 0.19 275.1) |
| XYZ | xyz(7.9538, 4.2168, 33.6456) |
| Luminance | 0.0422 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.29
Royal
#0C1793
ΔE00 3.67
Cobalt Blue
#030AA7
ΔE00 4.25
Royal Blue (survey)
#0504AA
ΔE00 4.70
Ultramarine
#2000B1
ΔE00 4.70
True Blue
#010FCC
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C22A0 #96A022
analogous
#2257A0 #2C22A0 #6B22A0
triadic
#2C22A0 #A02C22 #22A02C
tetradic
#2C22A0 #A02257 #96A022 #22A06B
square
#2C22A0 #A02257 #96A022 #22A06B
split-complementary
#2C22A0 #A06B22 #57A022
monochromatic
#100D3B #1E176E #2C22A0 #3A2DD2 #695FDD
Accessibility & contrast
On white
11.39
#2C22A0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#2C22A0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C22A0
11.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C22A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C22A0 | 1.00 | 11.39 | 1.84 | 11.39 |
| #FFFFFF | 11.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003FA4
Deuteranopia (green-blind)
#00349E
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2c22a0; /* rgb */ color: rgb(44, 34, 160); /* oklch */ color: oklch(36.8% 0.190 275.1);
Tailwind
colors: {
custom: {
50: '#7860bd',
500: '#2c22a0',
950: '#000000',
},
}SCSS
$custom: #2c22a0; $custom-light: #7860bd; $custom-dark: #000000;
JSON
{
"hex": "#2c22a0",
"rgb": {
"r": 44,
"g": 34,
"b": 160
},
"hsl": {
"h": 244.762,
"s": 64.948,
"l": 38.039
},
"oklch": {
"l": 0.3676,
"c": 0.19045,
"h": 275.1
},
"luminance": 0.04218
}Semantic roles & 50–950 ramp
primary
#2C22A0
secondary
#BAC25C
accent
#E840DB
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0A0512
muted
#7C7981