#2C1C7D#2C1C7D
#2C1C7D is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.153 H 281.0°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1C7D |
|---|---|
| RGB | rgb(44, 28, 125) |
| HSL | hsl(250, 63%, 30%) |
| HSV | hsv(250, 78%, 49%) |
| CMYK | cmyk(64.8%, 77.6%, 0%, 51%) |
| CIE-LAB | lab(19.42, 36.60, -52.01) |
| CIE-LCH | lch(19.42, 63.59, 305.13°) |
| OKLab | oklab(32.14% 0.0291 -0.15) |
| OKLCH | oklch(32.14% 0.153 281) |
| XYZ | xyz(5.1545, 2.8463, 19.6758) |
| Luminance | 0.0285 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.07
Royal
#0C1793
ΔE00 4.22
Indigo (survey)
#380282
ΔE00 4.62
Dark Royal Blue
#02066F
ΔE00 5.60
Navy
#000080
ΔE00 5.75
Darkblue
#00008B
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1C7D #6D7D1C
analogous
#1C3C7D #2C1C7D #5D1C7D
triadic
#2C1C7D #7D2C1C #1C7D2C
tetradic
#2C1C7D #7D1C3C #6D7D1C #1C7D5D
square
#2C1C7D #7D1C3C #6D7D1C #1C7D5D
split-complementary
#2C1C7D #7D5D1C #3C7D1C
monochromatic
#090619 #1A114B #2C1C7D #3E27AF #583FD4
Accessibility & contrast
On white
13.38
#2C1C7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#2C1C7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1C7D
13.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1C7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1C7D | 1.00 | 13.38 | 1.57 | 13.38 |
| #FFFFFF | 13.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003280
Deuteranopia (green-blind)
#002B7B
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #2c1c7d; /* rgb */ color: rgb(44, 28, 125); /* oklch */ color: oklch(32.1% 0.153 281.0);
Tailwind
colors: {
custom: {
50: '#715ba4',
500: '#2c1c7d',
950: '#000000',
},
}SCSS
$custom: #2c1c7d; $custom-light: #715ba4; $custom-dark: #000000;
JSON
{
"hex": "#2c1c7d",
"rgb": {
"r": 44,
"g": 28,
"b": 125
},
"hsl": {
"h": 249.897,
"s": 63.399,
"l": 30
},
"oklch": {
"l": 0.32143,
"c": 0.15284,
"h": 281
},
"luminance": 0.02847
}Semantic roles & 50–950 ramp
primary
#2C1C7D
secondary
#9FB144
accent
#E641CB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F