#2C1E85#2C1E85
#2C1E85 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.3% C 0.161 H 279.2°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1E85 |
|---|---|
| RGB | rgb(44, 30, 133) |
| HSL | hsl(248, 63%, 32%) |
| HSV | hsv(248, 77%, 52%) |
| CMYK | cmyk(66.9%, 77.4%, 0%, 47.8%) |
| CIE-LAB | lab(20.66, 38.09, -55.02) |
| CIE-LCH | lch(20.66, 66.92, 304.69°) |
| OKLab | oklab(33.28% 0.0258 -0.1588) |
| OKLCH | oklch(33.28% 0.161 279.2) |
| XYZ | xyz(5.7353, 3.1570, 22.4929) |
| Luminance | 0.0316 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.40
Midnight Blue
#191970
ΔE00 3.96
Indigo (survey)
#380282
ΔE00 4.87
Darkblue
#00008B
ΔE00 5.67
Cobalt Blue
#030AA7
ΔE00 5.85
Navy
#000080
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1E85 #77851E
analogous
#1E4485 #2C1E85 #601E85
triadic
#2C1E85 #852C1E #1E852C
tetradic
#2C1E85 #851E44 #77851E #1E8560
square
#2C1E85 #851E44 #77851E #1E8560
split-complementary
#2C1E85 #85601E #44851E
monochromatic
#0B0721 #1B1353 #2C1E85 #3D29B7 #5B48D6
Accessibility & contrast
On white
12.87
#2C1E85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#2C1E85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1E85
12.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1E85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1E85 | 1.00 | 12.87 | 1.63 | 12.87 |
| #FFFFFF | 12.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#002E83
Tritanopia (blue-blind)
#003C50
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #2c1e85; /* rgb */ color: rgb(44, 30, 133); /* oklch */ color: oklch(33.3% 0.161 279.2);
Tailwind
colors: {
custom: {
50: '#725caa',
500: '#2c1e85',
950: '#000000',
},
}SCSS
$custom: #2c1e85; $custom-light: #725caa; $custom-dark: #000000;
JSON
{
"hex": "#2c1e85",
"rgb": {
"r": 44,
"g": 30,
"b": 133
},
"hsl": {
"h": 248.155,
"s": 63.19,
"l": 31.961
},
"oklch": {
"l": 0.33275,
"c": 0.16093,
"h": 279.2
},
"luminance": 0.03157
}Semantic roles & 50–950 ramp
primary
#2C1E85
secondary
#A8B847
accent
#E642D0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F