#2C1C9D#2C1C9D
#2C1C9D is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.7% C 0.192 H 276.1°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1C9D |
|---|---|
| RGB | rgb(44, 28, 157) |
| HSL | hsl(247, 70%, 36%) |
| HSV | hsv(247, 82%, 62%) |
| CMYK | cmyk(72%, 82.2%, 0%, 38.4%) |
| CIE-LAB | lab(23.00, 46.73, -66.05) |
| CIE-LCH | lch(23.00, 80.91, 305.28°) |
| OKLab | oklab(35.7% 0.0203 -0.1909) |
| OKLCH | oklch(35.7% 0.192 276.1) |
| XYZ | xyz(7.5378, 3.7996, 32.2279) |
| Luminance | 0.0380 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.94
Indigo Blue
#3A18B1
ΔE00 3.22
Cobalt Blue
#030AA7
ΔE00 3.38
Royal Blue (survey)
#0504AA
ΔE00 3.80
Ultramarine
#2000B1
ΔE00 3.91
Indigo (survey)
#380282
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1C9D #8D9D1C
analogous
#1C4D9D #2C1C9D #6D1C9D
triadic
#2C1C9D #9D2C1C #1C9D2C
tetradic
#2C1C9D #9D1C4D #8D9D1C #1C9D6D
square
#2C1C9D #9D1C4D #8D9D1C #1C9D6D
split-complementary
#2C1C9D #9D6D1C #4D9D1C
monochromatic
#0F0935 #1D1369 #2C1C9D #3B25D1 #6553E0
Accessibility & contrast
On white
11.93
#2C1C9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#2C1C9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1C9D
11.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1C9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1C9D | 1.00 | 11.93 | 1.76 | 11.93 |
| #FFFFFF | 11.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003CA1
Deuteranopia (green-blind)
#00319B
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2c1c9d; /* rgb */ color: rgb(44, 28, 157); /* oklch */ color: oklch(35.7% 0.192 276.1);
Tailwind
colors: {
custom: {
50: '#785dbb',
500: '#2c1c9d',
950: '#000000',
},
}SCSS
$custom: #2c1c9d; $custom-light: #785dbb; $custom-dark: #000000;
JSON
{
"hex": "#2c1c9d",
"rgb": {
"r": 44,
"g": 28,
"b": 157
},
"hsl": {
"h": 247.442,
"s": 69.73,
"l": 36.275
},
"oklch": {
"l": 0.357,
"c": 0.19199,
"h": 276.1
},
"luminance": 0.038
}Semantic roles & 50–950 ramp
primary
#2C1C9D
secondary
#B5C351
accent
#ED3BD7
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0412
muted
#7C7981