#2C2296#2C2296
#2C2296 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.7% C 0.178 H 276.2°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2296 |
|---|---|
| RGB | rgb(44, 34, 150) |
| HSL | hsl(245, 63%, 36%) |
| HSV | hsv(245, 77%, 59%) |
| CMYK | cmyk(70.7%, 77.3%, 0%, 41.2%) |
| CIE-LAB | lab(23.27, 41.43, -61.29) |
| CIE-LCH | lch(23.27, 73.98, 304.06°) |
| OKLab | oklab(35.66% 0.0193 -0.1772) |
| OKLCH | oklch(35.66% 0.178 276.2) |
| XYZ | xyz(7.1140, 3.8809, 29.2224) |
| Luminance | 0.0388 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.16
Indigo Blue
#3A18B1
ΔE00 4.45
Cobalt Blue
#030AA7
ΔE00 4.71
Royal Blue (survey)
#0504AA
ΔE00 5.22
Ultramarine
#2000B1
ΔE00 5.49
Indigo (survey)
#380282
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2296 #8C9622
analogous
#225296 #2C2296 #662296
triadic
#2C2296 #962C22 #22962C
tetradic
#2C2296 #962252 #8C9622 #229666
square
#2C2296 #962252 #8C9622 #229666
split-complementary
#2C2296 #966622 #529622
monochromatic
#0F0B32 #1D1764 #2C2296 #3B2DC8 #6459D9
Accessibility & contrast
On white
11.82
#2C2296 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#2C2296 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2296
11.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2296 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2296 | 1.00 | 11.82 | 1.78 | 11.82 |
| #FFFFFF | 11.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C99
Deuteranopia (green-blind)
#003294
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2c2296; /* rgb */ color: rgb(44, 34, 150); /* oklch */ color: oklch(35.7% 0.178 276.2);
Tailwind
colors: {
custom: {
50: '#765fb6',
500: '#2c2296',
950: '#000000',
},
}SCSS
$custom: #2c2296; $custom-light: #765fb6; $custom-dark: #000000;
JSON
{
"hex": "#2c2296",
"rgb": {
"r": 44,
"g": 34,
"b": 150
},
"hsl": {
"h": 245.172,
"s": 63.043,
"l": 36.078
},
"oklch": {
"l": 0.35661,
"c": 0.17822,
"h": 276.2
},
"luminance": 0.03882
}Semantic roles & 50–950 ramp
primary
#2C2296
secondary
#B5BE56
accent
#E642D8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980