#2C1EB3#2C1EB3
#2C1EB3 is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.5% C 0.216 H 273.6°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1EB3 |
|---|---|
| RGB | rgb(44, 30, 179) |
| HSL | hsl(246, 71%, 41%) |
| HSV | hsv(246, 83%, 70%) |
| CMYK | cmyk(75.4%, 83.2%, 0%, 29.8%) |
| CIE-LAB | lab(25.91, 52.48, -74.52) |
| CIE-LCH | lch(25.91, 91.14, 305.16°) |
| OKLab | oklab(38.47% 0.0135 -0.2155) |
| OKLCH | oklch(38.47% 0.216 273.6) |
| XYZ | xyz(9.6370, 4.7177, 43.0418) |
| Luminance | 0.0472 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 1.65
True Blue
#010FCC
ΔE00 3.32
Ultramarine
#2000B1
ΔE00 3.65
Mediumblue
#0000CD
ΔE00 3.95
Cobalt Blue
#030AA7
ΔE00 4.18
Royal Blue (survey)
#0504AA
ΔE00 4.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1EB3 #A5B31E
analogous
#1E5AB3 #2C1EB3 #761EB3
triadic
#2C1EB3 #B32C1E #1EB32C
tetradic
#2C1EB3 #B31E5A #A5B31E #1EB376
square
#2C1EB3 #B31E5A #A5B31E #1EB376
split-complementary
#2C1EB3 #B3761E #5AB31E
monochromatic
#120C4A #1F157F #2C1EB3 #4232DD #7266E5
Accessibility & contrast
On white
10.80
#2C1EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#2C1EB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1EB3
10.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1EB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1EB3 | 1.00 | 10.80 | 1.94 | 10.80 |
| #FFFFFF | 10.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044B7
Deuteranopia (green-blind)
#0036B1
Tritanopia (blue-blind)
#004E6B
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2c1eb3; /* rgb */ color: rgb(44, 30, 179); /* oklch */ color: oklch(38.5% 0.216 273.6);
Tailwind
colors: {
custom: {
50: '#7d5fcb',
500: '#2c1eb3',
950: '#000000',
},
}SCSS
$custom: #2c1eb3; $custom-light: #7d5fcb; $custom-dark: #000000;
JSON
{
"hex": "#2c1eb3",
"rgb": {
"r": 44,
"g": 30,
"b": 179
},
"hsl": {
"h": 245.638,
"s": 71.292,
"l": 40.98
},
"oklch": {
"l": 0.38469,
"c": 0.21592,
"h": 273.6
},
"luminance": 0.04719
}Semantic roles & 50–950 ramp
primary
#2C1EB3
secondary
#C1CB62
accent
#EE3ADD
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0514
muted
#7D7982