#2C1C7E#2C1C7E
#2C1C7E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.3% C 0.154 H 280.8°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1C7E |
|---|---|
| RGB | rgb(44, 28, 126) |
| HSL | hsl(250, 64%, 30%) |
| HSV | hsv(250, 78%, 49%) |
| CMYK | cmyk(65.1%, 77.8%, 0%, 50.6%) |
| CIE-LAB | lab(19.52, 36.92, -52.47) |
| CIE-LCH | lch(19.52, 64.16, 305.13°) |
| OKLab | oklab(32.25% 0.0289 -0.1514) |
| OKLCH | oklch(32.25% 0.154 280.8) |
| XYZ | xyz(5.2187, 2.8719, 20.0140) |
| Luminance | 0.0287 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.17
Royal
#0C1793
ΔE00 4.09
Indigo (survey)
#380282
ΔE00 4.57
Dark Royal Blue
#02066F
ΔE00 5.64
Darkblue
#00008B
ΔE00 5.69
Navy
#000080
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1C7E #6E7E1C
analogous
#1C3D7E #2C1C7E #5D1C7E
triadic
#2C1C7E #7E2C1C #1C7E2C
tetradic
#2C1C7E #7E1C3D #6E7E1C #1C7E5D
square
#2C1C7E #7E1C3D #6E7E1C #1C7E5D
split-complementary
#2C1C7E #7E5D1C #3D7E1C
monochromatic
#09061A #1B114C #2C1C7E #3D27B0 #5840D5
Accessibility & contrast
On white
13.34
#2C1C7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#2C1C7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1C7E
13.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1C7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1C7E | 1.00 | 13.34 | 1.57 | 13.34 |
| #FFFFFF | 13.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003381
Deuteranopia (green-blind)
#002C7C
Tritanopia (blue-blind)
#00384C
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #2c1c7e; /* rgb */ color: rgb(44, 28, 126); /* oklch */ color: oklch(32.3% 0.154 280.8);
Tailwind
colors: {
custom: {
50: '#715ba4',
500: '#2c1c7e',
950: '#000000',
},
}SCSS
$custom: #2c1c7e; $custom-light: #715ba4; $custom-dark: #000000;
JSON
{
"hex": "#2c1c7e",
"rgb": {
"r": 44,
"g": 28,
"b": 126
},
"hsl": {
"h": 249.796,
"s": 63.636,
"l": 30.196
},
"oklch": {
"l": 0.3225,
"c": 0.15412,
"h": 280.8
},
"luminance": 0.02872
}Semantic roles & 50–950 ramp
primary
#2C1C7E
secondary
#A0B244
accent
#E741CC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F