#2C1996#2C1996
#2C1996 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.6% C 0.186 H 277.3°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1996 |
|---|---|
| RGB | rgb(44, 25, 150) |
| HSL | hsl(249, 71%, 34%) |
| HSV | hsv(249, 83%, 59%) |
| CMYK | cmyk(70.7%, 83.3%, 0%, 41.2%) |
| CIE-LAB | lab(21.70, 45.99, -63.90) |
| CIE-LCH | lch(21.70, 78.73, 305.74°) |
| OKLab | oklab(34.56% 0.0235 -0.1846) |
| OKLCH | oklch(34.56% 0.186 277.3) |
| XYZ | xyz(6.8896, 3.4321, 29.1476) |
| Luminance | 0.0343 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.46
Cobalt Blue
#030AA7
ΔE00 3.45
Royal Blue (survey)
#0504AA
ΔE00 3.88
Indigo Blue
#3A18B1
ΔE00 4.07
Ultramarine
#2000B1
ΔE00 4.22
Indigo (survey)
#380282
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1996 #839619
analogous
#194596 #2C1996 #6B1996
triadic
#2C1996 #962C19 #19962C
tetradic
#2C1996 #961945 #839619 #19966B
square
#2C1996 #961945 #839619 #19966B
split-complementary
#2C1996 #966B19 #459619
monochromatic
#0D082D #1D1062 #2C1996 #3B22CA #6049E1
Accessibility & contrast
On white
12.45
#2C1996 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#2C1996 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1996
12.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1996 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1996 | 1.00 | 12.45 | 1.69 | 12.45 |
| #FFFFFF | 12.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003999
Deuteranopia (green-blind)
#002F94
Tritanopia (blue-blind)
#004159
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2c1996; /* rgb */ color: rgb(44, 25, 150); /* oklch */ color: oklch(34.6% 0.186 277.3);
Tailwind
colors: {
custom: {
50: '#775bb6',
500: '#2c1996',
950: '#000000',
},
}SCSS
$custom: #2c1996; $custom-light: #775bb6; $custom-dark: #000000;
JSON
{
"hex": "#2c1996",
"rgb": {
"r": 44,
"g": 25,
"b": 150
},
"hsl": {
"h": 249.12,
"s": 71.429,
"l": 34.314
},
"oklch": {
"l": 0.34562,
"c": 0.18612,
"h": 277.3
},
"luminance": 0.03433
}Semantic roles & 50–950 ramp
primary
#2C1996
secondary
#B0C249
accent
#EE3AD3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980