#2C1E7D#2C1E7D
#2C1E7D is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.151 H 280.6°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1E7D |
|---|---|
| RGB | rgb(44, 30, 125) |
| HSL | hsl(249, 61%, 30%) |
| HSV | hsv(249, 76%, 49%) |
| CMYK | cmyk(64.8%, 76%, 0%, 51%) |
| CIE-LAB | lab(19.82, 35.46, -51.35) |
| CIE-LCH | lch(19.82, 62.40, 304.63°) |
| OKLab | oklab(32.43% 0.0277 -0.1481) |
| OKLCH | oklch(32.43% 0.151 280.6) |
| XYZ | xyz(5.2035, 2.9443, 19.6922) |
| Luminance | 0.0295 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.07
Royal
#0C1793
ΔE00 4.37
Indigo (survey)
#380282
ΔE00 5.08
Dark Royal Blue
#02066F
ΔE00 5.94
Darkblue
#00008B
ΔE00 6.16
Navy
#000080
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1E7D #6F7D1E
analogous
#1E3F7D #2C1E7D #5B1E7D
triadic
#2C1E7D #7D2C1E #1E7D2C
tetradic
#2C1E7D #7D1E3F #6F7D1E #1E7D5B
square
#2C1E7D #7D1E3F #6F7D1E #1E7D5B
split-complementary
#2C1E7D #7D5B1E #3F7D1E
monochromatic
#09061A #1B124C #2C1E7D #3D2AAE #5843D2
Accessibility & contrast
On white
13.22
#2C1E7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#2C1E7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1E7D
13.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1E7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1E7D | 1.00 | 13.22 | 1.59 | 13.22 |
| #FFFFFF | 13.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003380
Deuteranopia (green-blind)
#002C7B
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #2c1e7d; /* rgb */ color: rgb(44, 30, 125); /* oklch */ color: oklch(32.4% 0.151 280.6);
Tailwind
colors: {
custom: {
50: '#715ca4',
500: '#2c1e7d',
950: '#000000',
},
}SCSS
$custom: #2c1e7d; $custom-light: #715ca4; $custom-dark: #000000;
JSON
{
"hex": "#2c1e7d",
"rgb": {
"r": 44,
"g": 30,
"b": 125
},
"hsl": {
"h": 248.842,
"s": 61.29,
"l": 30.392
},
"oklch": {
"l": 0.32427,
"c": 0.1507,
"h": 280.6
},
"luminance": 0.02945
}Semantic roles & 50–950 ramp
primary
#2C1E7D
secondary
#A1B046
accent
#E443CD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F