#2C1AA0#2C1AA0
#2C1AA0 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.8% C 0.197 H 275.9°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1AA0 |
|---|---|
| RGB | rgb(44, 26, 160) |
| HSL | hsl(248, 72%, 36%) |
| HSV | hsv(248, 84%, 63%) |
| CMYK | cmyk(72.5%, 83.8%, 0%, 37.3%) |
| CIE-LAB | lab(23.04, 48.56, -67.81) |
| CIE-LCH | lch(23.04, 83.41, 305.60°) |
| OKLab | oklab(35.83% 0.0201 -0.196) |
| OKLCH | oklch(35.83% 0.197 275.9) |
| XYZ | xyz(7.7512, 3.8116, 33.5781) |
| Luminance | 0.0381 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.82
Cobalt Blue
#030AA7
ΔE00 3.03
Royal
#0C1793
ΔE00 3.12
Ultramarine
#2000B1
ΔE00 3.40
Royal Blue (survey)
#0504AA
ΔE00 3.40
True Blue
#010FCC
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1AA0 #8EA01A
analogous
#1A4BA0 #2C1AA0 #6F1AA0
triadic
#2C1AA0 #A02C1A #1AA02C
tetradic
#2C1AA0 #A01A4B #8EA01A #1AA06F
square
#2C1AA0 #A01A4B #8EA01A #1AA06F
split-complementary
#2C1AA0 #A06F1A #4BA01A
monochromatic
#0F0937 #1E116B #2C1AA0 #3A23D5 #6552E3
Accessibility & contrast
On white
11.92
#2C1AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#2C1AA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1AA0
11.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1AA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1AA0 | 1.00 | 11.92 | 1.76 | 11.92 |
| #FFFFFF | 11.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003CA4
Deuteranopia (green-blind)
#00319E
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2c1aa0; /* rgb */ color: rgb(44, 26, 160); /* oklch */ color: oklch(35.8% 0.197 275.9);
Tailwind
colors: {
custom: {
50: '#795cbd',
500: '#2c1aa0',
950: '#000000',
},
}SCSS
$custom: #2c1aa0; $custom-light: #795cbd; $custom-dark: #000000;
JSON
{
"hex": "#2c1aa0",
"rgb": {
"r": 44,
"g": 26,
"b": 160
},
"hsl": {
"h": 248.06,
"s": 72.043,
"l": 36.471
},
"oklch": {
"l": 0.35831,
"c": 0.19704,
"h": 275.9
},
"luminance": 0.03812
}Semantic roles & 50–950 ramp
primary
#2C1AA0
secondary
#B6C550
accent
#EF39D6
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981