#2C1E96#2C1E96
#2C1E96 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.1% C 0.182 H 276.7°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1E96 |
|---|---|
| RGB | rgb(44, 30, 150) |
| HSL | hsl(247, 67%, 35%) |
| HSV | hsv(247, 80%, 59%) |
| CMYK | cmyk(70.7%, 80%, 0%, 41.2%) |
| CIE-LAB | lab(22.53, 43.55, -62.52) |
| CIE-LCH | lch(22.53, 76.19, 304.86°) |
| OKLab | oklab(35.14% 0.0213 -0.1807) |
| OKLCH | oklch(35.14% 0.182 276.7) |
| XYZ | xyz(7.0062, 3.6654, 29.1865) |
| Luminance | 0.0367 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.69
Cobalt Blue
#030AA7
ΔE00 4.06
Indigo Blue
#3A18B1
ΔE00 4.17
Royal Blue (survey)
#0504AA
ΔE00 4.54
Ultramarine
#2000B1
ΔE00 4.85
Indigo (survey)
#380282
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1E96 #88961E
analogous
#1E4C96 #2C1E96 #681E96
triadic
#2C1E96 #962C1E #1E962C
tetradic
#2C1E96 #961E4C #88961E #1E9668
square
#2C1E96 #961E4C #88961E #1E9668
split-complementary
#2C1E96 #96681E #4C961E
monochromatic
#0E0A30 #1D1463 #2C1E96 #3B28C9 #6252DC
Accessibility & contrast
On white
12.12
#2C1E96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#2C1E96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1E96
12.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1E96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1E96 | 1.00 | 12.12 | 1.73 | 12.12 |
| #FFFFFF | 12.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B99
Deuteranopia (green-blind)
#003194
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2c1e96; /* rgb */ color: rgb(44, 30, 150); /* oklch */ color: oklch(35.1% 0.182 276.7);
Tailwind
colors: {
custom: {
50: '#765db6',
500: '#2c1e96',
950: '#000000',
},
}SCSS
$custom: #2c1e96; $custom-light: #765db6; $custom-dark: #000000;
JSON
{
"hex": "#2c1e96",
"rgb": {
"r": 44,
"g": 30,
"b": 150
},
"hsl": {
"h": 247,
"s": 66.667,
"l": 35.294
},
"oklch": {
"l": 0.35141,
"c": 0.18194,
"h": 276.7
},
"luminance": 0.03666
}Semantic roles & 50–950 ramp
primary
#2C1E96
secondary
#B3BF50
accent
#EA3ED6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980