#2C22A5#2C22A5
#2C22A5 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.3% C 0.196 H 274.6°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2C22A5 |
|---|---|
| RGB | rgb(44, 34, 165) |
| HSL | hsl(245, 66%, 39%) |
| HSV | hsv(245, 79%, 65%) |
| CMYK | cmyk(73.3%, 79.4%, 0%, 35.3%) |
| CIE-LAB | lab(24.94, 46.26, -67.71) |
| CIE-LCH | lch(24.94, 82.00, 304.34°) |
| OKLab | oklab(37.32% 0.0157 -0.1958) |
| OKLCH | oklch(37.32% 0.196 274.6) |
| XYZ | xyz(8.4000, 4.3953, 35.9957) |
| Luminance | 0.0440 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.80
Royal
#0C1793
ΔE00 4.10
Cobalt Blue
#030AA7
ΔE00 4.22
Ultramarine
#2000B1
ΔE00 4.45
Royal Blue (survey)
#0504AA
ΔE00 4.61
True Blue
#010FCC
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C22A5 #9BA522
analogous
#225AA5 #2C22A5 #6E22A5
triadic
#2C22A5 #A52C22 #22A52C
tetradic
#2C22A5 #A5225A #9BA522 #22A56E
square
#2C22A5 #A5225A #9BA522 #22A56E
split-complementary
#2C22A5 #A56E22 #5AA522
monochromatic
#110D40 #1E1872 #2C22A5 #3C30D4 #6C63DF
Accessibility & contrast
On white
11.17
#2C22A5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#2C22A5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C22A5
11.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C22A5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C22A5 | 1.00 | 11.17 | 1.88 | 11.17 |
| #FFFFFF | 11.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A9
Deuteranopia (green-blind)
#0035A3
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2c22a5; /* rgb */ color: rgb(44, 34, 165); /* oklch */ color: oklch(37.3% 0.196 274.6);
Tailwind
colors: {
custom: {
50: '#7960c1',
500: '#2c22a5',
950: '#000000',
},
}SCSS
$custom: #2c22a5; $custom-light: #7960c1; $custom-dark: #000000;
JSON
{
"hex": "#2c22a5",
"rgb": {
"r": 44,
"g": 34,
"b": 165
},
"hsl": {
"h": 244.58,
"s": 65.829,
"l": 39.02
},
"oklch": {
"l": 0.37318,
"c": 0.19646,
"h": 274.6
},
"luminance": 0.04396
}Semantic roles & 50–950 ramp
primary
#2C22A5
secondary
#BCC45F
accent
#E93FDC
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0512
muted
#7C7981