#2C2190#2C2190
#2C2190 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.9% C 0.172 H 277.1°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2190 |
|---|---|
| RGB | rgb(44, 33, 144) |
| HSL | hsl(246, 63%, 35%) |
| HSV | hsv(246, 77%, 56%) |
| CMYK | cmyk(69.4%, 77.1%, 0%, 43.5%) |
| CIE-LAB | lab(22.43, 40.02, -58.98) |
| CIE-LCH | lch(22.43, 71.27, 304.16°) |
| OKLab | oklab(34.87% 0.0213 -0.1704) |
| OKLCH | oklch(34.87% 0.172 277.1) |
| XYZ | xyz(6.6150, 3.6362, 26.7334) |
| Luminance | 0.0364 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.03
Cobalt Blue
#030AA7
ΔE00 5.03
Indigo Blue
#3A18B1
ΔE00 5.16
Midnight Blue
#191970
ΔE00 5.44
Royal Blue (survey)
#0504AA
ΔE00 5.55
Indigo (survey)
#380282
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2190 #859021
analogous
#214E90 #2C2190 #642190
triadic
#2C2190 #902C21 #21902C
tetradic
#2C2190 #90214E #859021 #219064
square
#2C2190 #90214E #859021 #219064
split-complementary
#2C2190 #906421 #4E9021
monochromatic
#0E0A2C #1D165E #2C2190 #3B2CC2 #6154D8
Accessibility & contrast
On white
12.16
#2C2190 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#2C2190 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2190
12.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2190 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2190 | 1.00 | 12.16 | 1.73 | 12.16 |
| #FFFFFF | 12.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A93
Deuteranopia (green-blind)
#00318E
Tritanopia (blue-blind)
#004157
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2c2190; /* rgb */ color: rgb(44, 33, 144); /* oklch */ color: oklch(34.9% 0.172 277.1);
Tailwind
colors: {
custom: {
50: '#745fb2',
500: '#2c2190',
950: '#000000',
},
}SCSS
$custom: #2c2190; $custom-light: #745fb2; $custom-dark: #000000;
JSON
{
"hex": "#2c2190",
"rgb": {
"r": 44,
"g": 33,
"b": 144
},
"hsl": {
"h": 245.946,
"s": 62.712,
"l": 34.706
},
"oklch": {
"l": 0.34874,
"c": 0.17173,
"h": 277.1
},
"luminance": 0.03637
}Semantic roles & 50–950 ramp
primary
#2C2190
secondary
#B1BB51
accent
#E642D6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980