#2C1DB3#2C1DB3
#2C1DB3 is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.4% C 0.217 H 273.6°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1DB3 |
|---|---|
| RGB | rgb(44, 29, 179) |
| HSL | hsl(246, 72%, 41%) |
| HSV | hsv(246, 84%, 70%) |
| CMYK | cmyk(75.4%, 83.8%, 0%, 29.8%) |
| CIE-LAB | lab(25.77, 52.92, -74.76) |
| CIE-LCH | lch(25.77, 91.60, 305.29°) |
| OKLab | oklab(38.37% 0.0137 -0.2162) |
| OKLCH | oklch(38.37% 0.217 273.6) |
| XYZ | xyz(9.6120, 4.6679, 43.0335) |
| Luminance | 0.0467 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 1.56
True Blue
#010FCC
ΔE00 3.25
Ultramarine
#2000B1
ΔE00 3.49
Mediumblue
#0000CD
ΔE00 3.85
Cobalt Blue
#030AA7
ΔE00 4.05
Royal Blue (survey)
#0504AA
ΔE00 4.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1DB3 #A4B31D
analogous
#1D59B3 #2C1DB3 #771DB3
triadic
#2C1DB3 #B32C1D #1DB32C
tetradic
#2C1DB3 #B31D59 #A4B31D #1DB377
square
#2C1DB3 #B31D59 #A4B31D #1DB377
split-complementary
#2C1DB3 #B3771D #59B31D
monochromatic
#120C4A #1F147E #2C1DB3 #4130DD #7164E6
Accessibility & contrast
On white
10.86
#2C1DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#2C1DB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1DB3
10.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1DB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1DB3 | 1.00 | 10.86 | 1.93 | 10.86 |
| #FFFFFF | 10.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.86 | 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: #2c1db3; /* rgb */ color: rgb(44, 29, 179); /* oklch */ color: oklch(38.4% 0.217 273.6);
Tailwind
colors: {
custom: {
50: '#7d5fcb',
500: '#2c1db3',
950: '#000000',
},
}SCSS
$custom: #2c1db3; $custom-light: #7d5fcb; $custom-dark: #000000;
JSON
{
"hex": "#2c1db3",
"rgb": {
"r": 44,
"g": 29,
"b": 179
},
"hsl": {
"h": 246,
"s": 72.115,
"l": 40.784
},
"oklch": {
"l": 0.38367,
"c": 0.21664,
"h": 273.6
},
"luminance": 0.04669
}Semantic roles & 50–950 ramp
primary
#2C1DB3
secondary
#C0CB61
accent
#EF39DD
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0514
muted
#7D7982