#2C1DA1#2C1DA1
#2C1DA1 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.3% C 0.196 H 275.5°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1DA1 |
|---|---|
| RGB | rgb(44, 29, 161) |
| HSL | hsl(247, 69%, 37%) |
| HSV | hsv(247, 82%, 63%) |
| CMYK | cmyk(72.7%, 82%, 0%, 36.9%) |
| CIE-LAB | lab(23.63, 47.48, -67.45) |
| CIE-LCH | lch(23.63, 82.49, 305.14°) |
| OKLab | oklab(36.27% 0.0187 -0.195) |
| OKLCH | oklch(36.27% 0.196 275.5) |
| XYZ | xyz(7.9090, 3.9866, 34.0640) |
| Luminance | 0.0399 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.78
Royal
#0C1793
ΔE00 3.33
Cobalt Blue
#030AA7
ΔE00 3.41
Ultramarine
#2000B1
ΔE00 3.77
Royal Blue (survey)
#0504AA
ΔE00 3.80
True Blue
#010FCC
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1DA1 #92A11D
analogous
#1D50A1 #2C1DA1 #6E1DA1
triadic
#2C1DA1 #A12C1D #1DA12C
tetradic
#2C1DA1 #A11D50 #92A11D #1DA16E
square
#2C1DA1 #A11D50 #92A11D #1DA16E
split-complementary
#2C1DA1 #A16E1D #50A11D
monochromatic
#100A39 #1E146D #2C1DA1 #3A26D5 #6758E1
Accessibility & contrast
On white
11.68
#2C1DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#2C1DA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1DA1
11.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1DA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1DA1 | 1.00 | 11.68 | 1.80 | 11.68 |
| #FFFFFF | 11.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003EA5
Deuteranopia (green-blind)
#00329F
Tritanopia (blue-blind)
#004660
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2c1da1; /* rgb */ color: rgb(44, 29, 161); /* oklch */ color: oklch(36.3% 0.196 275.5);
Tailwind
colors: {
custom: {
50: '#795dbe',
500: '#2c1da1',
950: '#000000',
},
}SCSS
$custom: #2c1da1; $custom-light: #795dbe; $custom-dark: #000000;
JSON
{
"hex": "#2c1da1",
"rgb": {
"r": 44,
"g": 29,
"b": 161
},
"hsl": {
"h": 246.818,
"s": 69.474,
"l": 37.255
},
"oklch": {
"l": 0.36272,
"c": 0.1959,
"h": 275.5
},
"luminance": 0.03987
}Semantic roles & 50–950 ramp
primary
#2C1DA1
secondary
#B8C455
accent
#EC3CD8
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981