#2C15A0#2C15A0
#2C15A0 is a dark, highly saturated blue. Relative luminance 0.036; OKLCH L 35.3% C 0.200 H 276.2°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2C15A0 |
|---|---|
| RGB | rgb(44, 21, 160) |
| HSL | hsl(250, 77%, 35%) |
| HSV | hsv(250, 87%, 63%) |
| CMYK | cmyk(72.5%, 86.9%, 0%, 37.3%) |
| CIE-LAB | lab(22.33, 50.64, -68.98) |
| CIE-LCH | lch(22.33, 85.58, 306.28°) |
| OKLab | oklab(35.35% 0.0217 -0.1993) |
| OKLCH | oklch(35.35% 0.2 276.2) |
| XYZ | xyz(7.6500, 3.6091, 33.5444) |
| Luminance | 0.0361 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt Blue
#030AA7
ΔE00 2.54
Ultramarine
#2000B1
ΔE00 2.82
Royal Blue (survey)
#0504AA
ΔE00 2.83
Indigo Blue
#3A18B1
ΔE00 2.91
Royal
#0C1793
ΔE00 3.12
Darkblue
#00008B
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C15A0 #89A015
analogous
#1543A0 #2C15A0 #7115A0
triadic
#2C15A0 #A02C15 #15A02C
tetradic
#2C15A0 #A01543 #89A015 #15A071
square
#2C15A0 #A01543 #89A015 #15A071
split-complementary
#2C15A0 #A07115 #43A015
monochromatic
#0E0734 #1D0E6A #2C15A0 #3B1CD6 #6348E7
Accessibility & contrast
On white
12.20
#2C15A0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#2C15A0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C15A0
12.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C15A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C15A0 | 1.00 | 12.20 | 1.72 | 12.20 |
| #FFFFFF | 12.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003BA4
Deuteranopia (green-blind)
#002F9E
Tritanopia (blue-blind)
#00435E
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2c15a0; /* rgb */ color: rgb(44, 21, 160); /* oklch */ color: oklch(35.3% 0.200 276.2);
Tailwind
colors: {
custom: {
50: '#7959be',
500: '#2c15a0',
950: '#000000',
},
}SCSS
$custom: #2c15a0; $custom-light: #7959be; $custom-dark: #000000;
JSON
{
"hex": "#2c15a0",
"rgb": {
"r": 44,
"g": 21,
"b": 160
},
"hsl": {
"h": 249.928,
"s": 76.796,
"l": 35.49
},
"oklch": {
"l": 0.35348,
"c": 0.20048,
"h": 276.2
},
"luminance": 0.0361
}Semantic roles & 50–950 ramp
primary
#2C15A0
secondary
#B3C849
accent
#F334D4
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981