#2C2990#2C2990
#2C2990 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.1% C 0.163 H 275.7°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2990 |
|---|---|
| RGB | rgb(44, 41, 144) |
| HSL | hsl(242, 56%, 36%) |
| HSV | hsv(242, 72%, 56%) |
| CMYK | cmyk(69.4%, 71.5%, 0%, 43.5%) |
| CIE-LAB | lab(24.11, 35.33, -56.21) |
| CIE-LCH | lch(24.11, 66.39, 302.15°) |
| OKLab | oklab(36.07% 0.0163 -0.1624) |
| OKLCH | oklch(36.07% 0.163 275.7) |
| XYZ | xyz(6.8640, 4.1343, 26.8164) |
| Luminance | 0.0413 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.55
Sapphire (survey)
#2138AB
ΔE00 5.62
Midnight Blue
#191970
ΔE00 6.09
Indigo Blue
#3A18B1
ΔE00 6.14
Cobalt Blue
#030AA7
ΔE00 6.61
Darkslateblue
#483D8B
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2990 #8D9029
analogous
#295A90 #2C2990 #602990
triadic
#2C2990 #902C29 #29902C
tetradic
#2C2990 #90295A #8D9029 #299060
square
#2C2990 #90295A #8D9029 #299060
split-complementary
#2C2990 #906029 #5A9029
monochromatic
#0F0E31 #1D1B60 #2C2990 #3B37C0 #6561D2
Accessibility & contrast
On white
11.49
#2C2990 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#2C2990 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2990
11.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2990 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2990 | 1.00 | 11.49 | 1.83 | 11.49 |
| #FFFFFF | 11.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2c2990; /* rgb */ color: rgb(44, 41, 144); /* oklch */ color: oklch(36.1% 0.163 275.7);
Tailwind
colors: {
custom: {
50: '#7464b2',
500: '#2c2990',
950: '#000000',
},
}SCSS
$custom: #2c2990; $custom-light: #7464b2; $custom-dark: #000000;
JSON
{
"hex": "#2c2990",
"rgb": {
"r": 44,
"g": 41,
"b": 144
},
"hsl": {
"h": 241.748,
"s": 55.676,
"l": 36.275
},
"oklch": {
"l": 0.36069,
"c": 0.16319,
"h": 275.7
},
"luminance": 0.04135
}Semantic roles & 50–950 ramp
primary
#2C2990
secondary
#B5B85D
accent
#DF49DB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80