#2C1D85#2C1D85
#2C1D85 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.162 H 279.4°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1D85 |
|---|---|
| RGB | rgb(44, 29, 133) |
| HSL | hsl(249, 64%, 32%) |
| HSV | hsv(249, 78%, 52%) |
| CMYK | cmyk(66.9%, 78.2%, 0%, 47.8%) |
| CIE-LAB | lab(20.47, 38.64, -55.34) |
| CIE-LCH | lch(20.47, 67.49, 304.92°) |
| OKLab | oklab(33.14% 0.0264 -0.1598) |
| OKLCH | oklch(33.14% 0.162 279.4) |
| XYZ | xyz(5.7104, 3.1072, 22.4846) |
| Luminance | 0.0311 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.32
Midnight Blue
#191970
ΔE00 3.95
Indigo (survey)
#380282
ΔE00 4.65
Darkblue
#00008B
ΔE00 5.48
Cobalt Blue
#030AA7
ΔE00 5.73
Navy
#000080
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1D85 #76851D
analogous
#1D4285 #2C1D85 #601D85
triadic
#2C1D85 #852C1D #1D852C
tetradic
#2C1D85 #851D42 #76851D #1D8560
square
#2C1D85 #851D42 #76851D #1D8560
split-complementary
#2C1D85 #85601D #42851D
monochromatic
#0B0721 #1B1253 #2C1D85 #3D28B7 #5B46D7
Accessibility & contrast
On white
12.95
#2C1D85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#2C1D85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1D85
12.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1D85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1D85 | 1.00 | 12.95 | 1.62 | 12.95 |
| #FFFFFF | 12.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003588
Deuteranopia (green-blind)
#002D83
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #2c1d85; /* rgb */ color: rgb(44, 29, 133); /* oklch */ color: oklch(33.1% 0.162 279.4);
Tailwind
colors: {
custom: {
50: '#725caa',
500: '#2c1d85',
950: '#000000',
},
}SCSS
$custom: #2c1d85; $custom-light: #725caa; $custom-dark: #000000;
JSON
{
"hex": "#2c1d85",
"rgb": {
"r": 44,
"g": 29,
"b": 133
},
"hsl": {
"h": 248.654,
"s": 64.198,
"l": 31.765
},
"oklch": {
"l": 0.33139,
"c": 0.16193,
"h": 279.4
},
"luminance": 0.03108
}Semantic roles & 50–950 ramp
primary
#2C1D85
secondary
#A7B846
accent
#E741CF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F