#2C1990#2C1990
#2C1990 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.9% C 0.179 H 278.2°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1990 |
|---|---|
| RGB | rgb(44, 25, 144) |
| HSL | hsl(250, 70%, 33%) |
| HSV | hsv(250, 83%, 56%) |
| CMYK | cmyk(69.4%, 82.6%, 0%, 43.5%) |
| CIE-LAB | lab(21.00, 44.15, -61.35) |
| CIE-LCH | lch(21.00, 75.59, 305.74°) |
| OKLab | oklab(33.87% 0.0254 -0.1772) |
| OKLCH | oklch(33.87% 0.179 278.2) |
| XYZ | xyz(6.4188, 3.2438, 26.6680) |
| Luminance | 0.0324 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.42
Cobalt Blue
#030AA7
ΔE00 4.02
Indigo (survey)
#380282
ΔE00 4.25
Royal Blue (survey)
#0504AA
ΔE00 4.46
Darkblue
#00008B
ΔE00 4.69
Indigo Blue
#3A18B1
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1990 #7D9019
analogous
#194190 #2C1990 #671990
triadic
#2C1990 #902C19 #19902C
tetradic
#2C1990 #901941 #7D9019 #199067
square
#2C1990 #901941 #7D9019 #199067
split-complementary
#2C1990 #906719 #419019
monochromatic
#0C0728 #1C105C #2C1990 #3C22C4 #5D45DF
Accessibility & contrast
On white
12.74
#2C1990 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#2C1990 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1990
12.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1990 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1990 | 1.00 | 12.74 | 1.65 | 12.74 |
| #FFFFFF | 12.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003793
Deuteranopia (green-blind)
#002E8E
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #2c1990; /* rgb */ color: rgb(44, 25, 144); /* oklch */ color: oklch(33.9% 0.179 278.2);
Tailwind
colors: {
custom: {
50: '#755ab2',
500: '#2c1990',
950: '#000000',
},
}SCSS
$custom: #2c1990; $custom-light: #755ab2; $custom-dark: #000000;
JSON
{
"hex": "#2c1990",
"rgb": {
"r": 44,
"g": 25,
"b": 144
},
"hsl": {
"h": 249.58,
"s": 70.414,
"l": 33.137
},
"oklch": {
"l": 0.33871,
"c": 0.17903,
"h": 278.2
},
"luminance": 0.03244
}Semantic roles & 50–950 ramp
primary
#2C1990
secondary
#ACC045
accent
#ED3BD1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980