#2C1B86#2C1B86
#2C1B86 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.0% C 0.165 H 279.5°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1B86 |
|---|---|
| RGB | rgb(44, 27, 134) |
| HSL | hsl(250, 66%, 32%) |
| HSV | hsv(250, 80%, 53%) |
| CMYK | cmyk(67.2%, 79.9%, 0%, 47.5%) |
| CIE-LAB | lab(20.20, 40.03, -56.40) |
| CIE-LCH | lch(20.20, 69.16, 305.36°) |
| OKLab | oklab(32.99% 0.0273 -0.1629) |
| OKLCH | oklch(32.99% 0.165 279.5) |
| XYZ | xyz(5.7323, 3.0401, 22.8344) |
| Luminance | 0.0304 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.10
Midnight Blue
#191970
ΔE00 4.12
Indigo (survey)
#380282
ΔE00 4.23
Darkblue
#00008B
ΔE00 5.07
Cobalt Blue
#030AA7
ΔE00 5.39
Navy
#000080
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1B86 #75861B
analogous
#1B4086 #2C1B86 #621B86
triadic
#2C1B86 #862C1B #1B862C
tetradic
#2C1B86 #861B40 #75861B #1B8662
square
#2C1B86 #861B40 #75861B #1B8662
split-complementary
#2C1B86 #86621B #40861B
monochromatic
#0B0620 #1B1153 #2C1B86 #3D25B9 #5A42D9
Accessibility & contrast
On white
13.06
#2C1B86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#2C1B86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1B86
13.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1B86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1B86 | 1.00 | 13.06 | 1.61 | 13.06 |
| #FFFFFF | 13.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003589
Deuteranopia (green-blind)
#002D84
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #2c1b86; /* rgb */ color: rgb(44, 27, 134); /* oklch */ color: oklch(33.0% 0.165 279.5);
Tailwind
colors: {
custom: {
50: '#735aaa',
500: '#2c1b86',
950: '#000000',
},
}SCSS
$custom: #2c1b86; $custom-light: #735aaa; $custom-dark: #000000;
JSON
{
"hex": "#2c1b86",
"rgb": {
"r": 44,
"g": 27,
"b": 134
},
"hsl": {
"h": 249.533,
"s": 66.46,
"l": 31.569
},
"oklch": {
"l": 0.32986,
"c": 0.16514,
"h": 279.5
},
"luminance": 0.03041
}Semantic roles & 50–950 ramp
primary
#2C1B86
secondary
#A7B944
accent
#E93ECE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F