#2C1EA5#2C1EA5
#2C1EA5 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.8% C 0.200 H 275.0°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1EA5 |
|---|---|
| RGB | rgb(44, 30, 165) |
| HSL | hsl(246, 69%, 38%) |
| HSV | hsv(246, 82%, 65%) |
| CMYK | cmyk(73.3%, 81.8%, 0%, 35.3%) |
| CIE-LAB | lab(24.26, 48.24, -68.84) |
| CIE-LCH | lch(24.26, 84.05, 305.02°) |
| OKLab | oklab(36.85% 0.0173 -0.199) |
| OKLCH | oklch(36.85% 0.2 275) |
| XYZ | xyz(8.2923, 4.1798, 35.9598) |
| Luminance | 0.0418 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.41
Cobalt Blue
#030AA7
ΔE00 3.55
Ultramarine
#2000B1
ΔE00 3.72
Royal
#0C1793
ΔE00 3.77
Royal Blue (survey)
#0504AA
ΔE00 3.91
True Blue
#010FCC
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1EA5 #97A51E
analogous
#1E53A5 #2C1EA5 #6F1EA5
triadic
#2C1EA5 #A52C1E #1EA52C
tetradic
#2C1EA5 #A51E53 #97A51E #1EA56F
square
#2C1EA5 #A51E53 #97A51E #1EA56F
split-complementary
#2C1EA5 #A56F1E #53A51E
monochromatic
#100B3D #1E1571 #2C1EA5 #3A28D8 #6A5CE1
Accessibility & contrast
On white
11.44
#2C1EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#2C1EA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1EA5
11.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1EA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1EA5 | 1.00 | 11.44 | 1.84 | 11.44 |
| #FFFFFF | 11.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003FA9
Deuteranopia (green-blind)
#0033A3
Tritanopia (blue-blind)
#004862
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2c1ea5; /* rgb */ color: rgb(44, 30, 165); /* oklch */ color: oklch(36.8% 0.200 275.0);
Tailwind
colors: {
custom: {
50: '#7a5ec1',
500: '#2c1ea5',
950: '#000000',
},
}SCSS
$custom: #2c1ea5; $custom-light: #7a5ec1; $custom-dark: #000000;
JSON
{
"hex": "#2c1ea5",
"rgb": {
"r": 44,
"g": 30,
"b": 165
},
"hsl": {
"h": 246.222,
"s": 69.231,
"l": 38.235
},
"oklch": {
"l": 0.36845,
"c": 0.19979,
"h": 275
},
"luminance": 0.04181
}Semantic roles & 50–950 ramp
primary
#2C1EA5
secondary
#BAC559
accent
#EC3CDA
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0512
muted
#7C7981