#2C1EA1#2C1EA1
#2C1EA1 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.4% C 0.195 H 275.4°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1EA1 |
|---|---|
| RGB | rgb(44, 30, 161) |
| HSL | hsl(246, 69%, 37%) |
| HSV | hsv(246, 81%, 63%) |
| CMYK | cmyk(72.7%, 81.4%, 0%, 36.9%) |
| CIE-LAB | lab(23.79, 47.00, -67.18) |
| CIE-LCH | lch(23.79, 81.99, 304.98°) |
| OKLab | oklab(36.39% 0.0183 -0.1942) |
| OKLCH | oklch(36.39% 0.195 275.4) |
| XYZ | xyz(7.9339, 4.0365, 34.0723) |
| Luminance | 0.0404 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.83
Royal
#0C1793
ΔE00 3.39
Cobalt Blue
#030AA7
ΔE00 3.56
Ultramarine
#2000B1
ΔE00 3.93
Royal Blue (survey)
#0504AA
ΔE00 3.96
True Blue
#010FCC
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1EA1 #93A11E
analogous
#1E52A1 #2C1EA1 #6D1EA1
triadic
#2C1EA1 #A12C1E #1EA12C
tetradic
#2C1EA1 #A11E52 #93A11E #1EA16D
square
#2C1EA1 #A11E52 #93A11E #1EA16D
split-complementary
#2C1EA1 #A16D1E #52A11E
monochromatic
#100B3A #1E146D #2C1EA1 #3A28D5 #6859E0
Accessibility & contrast
On white
11.62
#2C1EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#2C1EA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1EA1
11.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1EA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1EA1 | 1.00 | 11.62 | 1.81 | 11.62 |
| #FFFFFF | 11.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003EA5
Deuteranopia (green-blind)
#00339F
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2c1ea1; /* rgb */ color: rgb(44, 30, 161); /* oklch */ color: oklch(36.4% 0.195 275.4);
Tailwind
colors: {
custom: {
50: '#795ebe',
500: '#2c1ea1',
950: '#000000',
},
}SCSS
$custom: #2c1ea1; $custom-light: #795ebe; $custom-dark: #000000;
JSON
{
"hex": "#2c1ea1",
"rgb": {
"r": 44,
"g": 30,
"b": 161
},
"hsl": {
"h": 246.412,
"s": 68.586,
"l": 37.451
},
"oklch": {
"l": 0.36386,
"c": 0.19508,
"h": 275.4
},
"luminance": 0.04037
}Semantic roles & 50–950 ramp
primary
#2C1EA1
secondary
#B8C457
accent
#EB3CD9
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981