#2C1CB3#2C1CB3
#2C1CB3 is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 38.3% C 0.217 H 273.7°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1CB3 |
|---|---|
| RGB | rgb(44, 28, 179) |
| HSL | hsl(246, 73%, 41%) |
| HSV | hsv(246, 84%, 70%) |
| CMYK | cmyk(75.4%, 84.4%, 0%, 29.8%) |
| CIE-LAB | lab(25.62, 53.35, -75.00) |
| CIE-LCH | lch(25.62, 92.04, 305.42°) |
| OKLab | oklab(38.27% 0.014 -0.2169) |
| OKLCH | oklch(38.27% 0.217 273.7) |
| XYZ | xyz(9.5879, 4.6197, 43.0255) |
| Luminance | 0.0462 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 1.47
True Blue
#010FCC
ΔE00 3.20
Ultramarine
#2000B1
ΔE00 3.33
Mediumblue
#0000CD
ΔE00 3.75
Cobalt Blue
#030AA7
ΔE00 3.94
Royal Blue (survey)
#0504AA
ΔE00 4.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1CB3 #A3B31C
analogous
#1C57B3 #2C1CB3 #781CB3
triadic
#2C1CB3 #B32C1C #1CB32C
tetradic
#2C1CB3 #B31C57 #A3B31C #1CB378
square
#2C1CB3 #B31C57 #A3B31C #1CB378
split-complementary
#2C1CB3 #B3781C #57B31C
monochromatic
#120B49 #1F147E #2C1CB3 #412EDE #7163E7
Accessibility & contrast
On white
10.91
#2C1CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#2C1CB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1CB3
10.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1CB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1CB3 | 1.00 | 10.91 | 1.92 | 10.91 |
| #FFFFFF | 10.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043B7
Deuteranopia (green-blind)
#0035B1
Tritanopia (blue-blind)
#004E6A
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2c1cb3; /* rgb */ color: rgb(44, 28, 179); /* oklch */ color: oklch(38.3% 0.217 273.7);
Tailwind
colors: {
custom: {
50: '#7d5ecb',
500: '#2c1cb3',
950: '#000000',
},
}SCSS
$custom: #2c1cb3; $custom-light: #7d5ecb; $custom-dark: #000000;
JSON
{
"hex": "#2c1cb3",
"rgb": {
"r": 44,
"g": 28,
"b": 179
},
"hsl": {
"h": 246.358,
"s": 72.947,
"l": 40.588
},
"oklch": {
"l": 0.38268,
"c": 0.21732,
"h": 273.7
},
"luminance": 0.04621
}Semantic roles & 50–950 ramp
primary
#2C1CB3
secondary
#C0CB5F
accent
#F038DC
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0514
muted
#7D7982