#2C1BA0#2C1BA0
#2C1BA0 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.9% C 0.196 H 275.8°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1BA0 |
|---|---|
| RGB | rgb(44, 27, 160) |
| HSL | hsl(248, 71%, 37%) |
| HSV | hsv(248, 83%, 63%) |
| CMYK | cmyk(72.5%, 83.1%, 0%, 37.3%) |
| CIE-LAB | lab(23.19, 48.11, -67.56) |
| CIE-LCH | lch(23.19, 82.94, 305.45°) |
| OKLab | oklab(35.94% 0.0198 -0.1953) |
| OKLCH | oklch(35.94% 0.196 275.8) |
| XYZ | xyz(7.7737, 3.8567, 33.5856) |
| Luminance | 0.0386 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.83
Royal
#0C1793
ΔE00 3.15
Cobalt Blue
#030AA7
ΔE00 3.15
Ultramarine
#2000B1
ΔE00 3.53
Royal Blue (survey)
#0504AA
ΔE00 3.54
True Blue
#010FCC
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1BA0 #8FA01B
analogous
#1B4DA0 #2C1BA0 #6F1BA0
triadic
#2C1BA0 #A02C1B #1BA02C
tetradic
#2C1BA0 #A01B4D #8FA01B #1BA06F
square
#2C1BA0 #A01B4D #8FA01B #1BA06F
split-complementary
#2C1BA0 #A06F1B #4DA01B
monochromatic
#0F0937 #1E126C #2C1BA0 #3A24D4 #6653E2
Accessibility & contrast
On white
11.86
#2C1BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#2C1BA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1BA0
11.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1BA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1BA0 | 1.00 | 11.86 | 1.77 | 11.86 |
| #FFFFFF | 11.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA4
Deuteranopia (green-blind)
#00319E
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2c1ba0; /* rgb */ color: rgb(44, 27, 160); /* oklch */ color: oklch(35.9% 0.196 275.8);
Tailwind
colors: {
custom: {
50: '#795cbd',
500: '#2c1ba0',
950: '#000000',
},
}SCSS
$custom: #2c1ba0; $custom-light: #795cbd; $custom-dark: #000000;
JSON
{
"hex": "#2c1ba0",
"rgb": {
"r": 44,
"g": 27,
"b": 160
},
"hsl": {
"h": 247.669,
"s": 71.123,
"l": 36.667
},
"oklch": {
"l": 0.35937,
"c": 0.19629,
"h": 275.8
},
"luminance": 0.03857
}Semantic roles & 50–950 ramp
primary
#2C1BA0
secondary
#B6C552
accent
#EE3AD7
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981