#2C1DA0#2C1DA0
#2C1DA0 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.2% C 0.195 H 275.6°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1DA0 |
|---|---|
| RGB | rgb(44, 29, 160) |
| HSL | hsl(247, 69%, 37%) |
| HSV | hsv(247, 82%, 63%) |
| CMYK | cmyk(72.5%, 81.9%, 0%, 37.3%) |
| CIE-LAB | lab(23.51, 47.17, -67.03) |
| CIE-LCH | lch(23.51, 81.97, 305.14°) |
| OKLab | oklab(36.16% 0.019 -0.1938) |
| OKLCH | oklch(36.16% 0.195 275.6) |
| XYZ | xyz(7.8211, 3.9515, 33.6014) |
| Luminance | 0.0395 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.89
Royal
#0C1793
ΔE00 3.24
Cobalt Blue
#030AA7
ΔE00 3.43
Ultramarine
#2000B1
ΔE00 3.83
Royal Blue (survey)
#0504AA
ΔE00 3.83
True Blue
#010FCC
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1DA0 #91A01D
analogous
#1D50A0 #2C1DA0 #6D1DA0
triadic
#2C1DA0 #A02C1D #1DA02C
tetradic
#2C1DA0 #A01D50 #91A01D #1DA06D
square
#2C1DA0 #A01D50 #91A01D #1DA06D
split-complementary
#2C1DA0 #A06D1D #50A01D
monochromatic
#100A38 #1E146C #2C1DA0 #3A26D4 #6757E1
Accessibility & contrast
On white
11.73
#2C1DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#2C1DA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1DA0
11.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1DA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1DA0 | 1.00 | 11.73 | 1.79 | 11.73 |
| #FFFFFF | 11.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003EA4
Deuteranopia (green-blind)
#00329E
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2c1da0; /* rgb */ color: rgb(44, 29, 160); /* oklch */ color: oklch(36.2% 0.195 275.6);
Tailwind
colors: {
custom: {
50: '#795dbd',
500: '#2c1da0',
950: '#000000',
},
}SCSS
$custom: #2c1da0; $custom-light: #795dbd; $custom-dark: #000000;
JSON
{
"hex": "#2c1da0",
"rgb": {
"r": 44,
"g": 29,
"b": 160
},
"hsl": {
"h": 246.87,
"s": 69.312,
"l": 37.059
},
"oklch": {
"l": 0.36157,
"c": 0.19472,
"h": 275.6
},
"luminance": 0.03952
}Semantic roles & 50–950 ramp
primary
#2C1DA0
secondary
#B7C455
accent
#EC3CD8
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981