#2C1E7E#2C1E7E
#2C1E7E is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.152 H 280.4°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1E7E |
|---|---|
| RGB | rgb(44, 30, 126) |
| HSL | hsl(249, 62%, 31%) |
| HSV | hsv(249, 76%, 49%) |
| CMYK | cmyk(65.1%, 76.2%, 0%, 50.6%) |
| CIE-LAB | lab(19.92, 35.79, -51.81) |
| CIE-LCH | lch(19.92, 62.97, 304.64°) |
| OKLab | oklab(32.53% 0.0275 -0.1495) |
| OKLCH | oklch(32.53% 0.152 280.4) |
| XYZ | xyz(5.2677, 2.9700, 20.0303) |
| Luminance | 0.0297 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.17
Royal
#0C1793
ΔE00 4.23
Indigo (survey)
#380282
ΔE00 5.04
Dark Royal Blue
#02066F
ΔE00 5.97
Darkblue
#00008B
ΔE00 6.08
Navy
#000080
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1E7E #707E1E
analogous
#1E407E #2C1E7E #5C1E7E
triadic
#2C1E7E #7E2C1E #1E7E2C
tetradic
#2C1E7E #7E1E40 #707E1E #1E7E5C
square
#2C1E7E #7E1E40 #707E1E #1E7E5C
split-complementary
#2C1E7E #7E5C1E #407E1E
monochromatic
#09061B #1B124D #2C1E7E #3D2AAF #5944D2
Accessibility & contrast
On white
13.17
#2C1E7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#2C1E7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1E7E
13.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1E7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1E7E | 1.00 | 13.17 | 1.59 | 13.17 |
| #FFFFFF | 13.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003481
Deuteranopia (green-blind)
#002C7C
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #2c1e7e; /* rgb */ color: rgb(44, 30, 126); /* oklch */ color: oklch(32.5% 0.152 280.4);
Tailwind
colors: {
custom: {
50: '#715ca4',
500: '#2c1e7e',
950: '#000000',
},
}SCSS
$custom: #2c1e7e; $custom-light: #715ca4; $custom-dark: #000000;
JSON
{
"hex": "#2c1e7e",
"rgb": {
"r": 44,
"g": 30,
"b": 126
},
"hsl": {
"h": 248.75,
"s": 61.538,
"l": 30.588
},
"oklch": {
"l": 0.32532,
"c": 0.15198,
"h": 280.4
},
"luminance": 0.0297
}Semantic roles & 50–950 ramp
primary
#2C1E7E
secondary
#A2B147
accent
#E543CD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F