#2C22AF#2C22AF
#2C22AF is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.4% C 0.208 H 273.6°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2C22AF |
|---|---|
| RGB | rgb(44, 34, 175) |
| HSL | hsl(244, 67%, 41%) |
| HSV | hsv(244, 81%, 69%) |
| CMYK | cmyk(74.9%, 80.6%, 0%, 31.4%) |
| CIE-LAB | lab(26.08, 49.40, -71.85) |
| CIE-LCH | lch(26.08, 87.19, 304.51°) |
| OKLab | oklab(38.45% 0.0132 -0.2078) |
| OKLCH | oklch(38.45% 0.208 273.6) |
| XYZ | xyz(9.3460, 4.7737, 40.9780) |
| Luminance | 0.0478 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.21
True Blue
#010FCC
ΔE00 4.04
Ultramarine
#2000B1
ΔE00 4.30
Cobalt Blue
#030AA7
ΔE00 4.51
Mediumblue
#0000CD
ΔE00 4.74
Royal Blue (survey)
#0504AA
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C22AF #A5AF22
analogous
#225EAF #2C22AF #7222AF
triadic
#2C22AF #AF2C22 #22AF2C
tetradic
#2C22AF #AF225E #A5AF22 #22AF72
square
#2C22AF #AF225E #A5AF22 #22AF72
split-complementary
#2C22AF #AF7222 #5EAF22
monochromatic
#120E49 #1F187C #2C22AF #4236D8 #7269E2
Accessibility & contrast
On white
10.74
#2C22AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#2C22AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C22AF
10.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C22AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C22AF | 1.00 | 10.74 | 1.96 | 10.74 |
| #FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044B3
Deuteranopia (green-blind)
#0037AD
Tritanopia (blue-blind)
#004E69
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2c22af; /* rgb */ color: rgb(44, 34, 175); /* oklch */ color: oklch(38.4% 0.208 273.6);
Tailwind
colors: {
custom: {
50: '#7c61c8',
500: '#2c22af',
950: '#000000',
},
}SCSS
$custom: #2c22af; $custom-light: #7c61c8; $custom-dark: #000000;
JSON
{
"hex": "#2c22af",
"rgb": {
"r": 44,
"g": 34,
"b": 175
},
"hsl": {
"h": 244.255,
"s": 67.464,
"l": 40.98
},
"oklch": {
"l": 0.38448,
"c": 0.20825,
"h": 273.6
},
"luminance": 0.04775
}Semantic roles & 50–950 ramp
primary
#2C22AF
secondary
#C1C865
accent
#EA3DDE
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982