#2C1B85#2C1B85
#2C1B85 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.164 H 279.7°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1B85 |
|---|---|
| RGB | rgb(44, 27, 133) |
| HSL | hsl(250, 66%, 31%) |
| HSV | hsv(250, 80%, 52%) |
| CMYK | cmyk(66.9%, 79.7%, 0%, 47.8%) |
| CIE-LAB | lab(20.09, 39.71, -55.96) |
| CIE-LCH | lch(20.09, 68.62, 305.36°) |
| OKLab | oklab(32.88% 0.0276 -0.1615) |
| OKLCH | oklch(32.88% 0.164 279.7) |
| XYZ | xyz(5.6629, 3.0123, 22.4688) |
| Luminance | 0.0301 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.20
Midnight Blue
#191970
ΔE00 3.99
Indigo (survey)
#380282
ΔE00 4.23
Darkblue
#00008B
ΔE00 5.11
Navy
#000080
ΔE00 5.42
Cobalt Blue
#030AA7
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1B85 #74851B
analogous
#1B3F85 #2C1B85 #611B85
triadic
#2C1B85 #852C1B #1B852C
tetradic
#2C1B85 #851B3F #74851B #1B8561
square
#2C1B85 #851B3F #74851B #1B8561
split-complementary
#2C1B85 #85611B #3F851B
monochromatic
#0A061F #1B1152 #2C1B85 #3D25B8 #5A42D9
Accessibility & contrast
On white
13.10
#2C1B85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#2C1B85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1B85
13.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1B85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1B85 | 1.00 | 13.10 | 1.60 | 13.10 |
| #FFFFFF | 13.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003488
Deuteranopia (green-blind)
#002C83
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #2c1b85; /* rgb */ color: rgb(44, 27, 133); /* oklch */ color: oklch(32.9% 0.164 279.7);
Tailwind
colors: {
custom: {
50: '#735aaa',
500: '#2c1b85',
950: '#000000',
},
}SCSS
$custom: #2c1b85; $custom-light: #735aaa; $custom-dark: #000000;
JSON
{
"hex": "#2c1b85",
"rgb": {
"r": 44,
"g": 27,
"b": 133
},
"hsl": {
"h": 249.623,
"s": 66.25,
"l": 31.373
},
"oklch": {
"l": 0.32876,
"c": 0.16389,
"h": 279.7
},
"luminance": 0.03013
}Semantic roles & 50–950 ramp
primary
#2C1B85
secondary
#A6B844
accent
#E93FCE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F