#2C2A96#2C2A96
#2C2A96 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.170 H 274.9°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2A96 |
|---|---|
| RGB | rgb(44, 42, 150) |
| HSL | hsl(241, 56%, 38%) |
| HSV | hsv(241, 72%, 59%) |
| CMYK | cmyk(70.7%, 72%, 0%, 41.2%) |
| CIE-LAB | lab(24.93, 36.79, -58.57) |
| CIE-LCH | lch(24.93, 69.16, 302.14°) |
| OKLab | oklab(36.84% 0.0146 -0.1693) |
| OKLCH | oklch(36.84% 0.17 274.9) |
| XYZ | xyz(7.3699, 4.3927, 29.3077) |
| Luminance | 0.0439 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.69
Sapphire (survey)
#2138AB
ΔE00 4.93
Indigo Blue
#3A18B1
ΔE00 5.58
Cobalt Blue
#030AA7
ΔE00 6.39
Midnight Blue
#191970
ΔE00 6.89
Darkslateblue
#483D8B
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2A96 #94962A
analogous
#2A5E96 #2C2A96 #622A96
triadic
#2C2A96 #962C2A #2A962C
tetradic
#2C2A96 #962A5E #94962A #2A9662
square
#2C2A96 #962A5E #94962A #2A9662
split-complementary
#2C2A96 #96622A #5E962A
monochromatic
#100F36 #1E1D66 #2C2A96 #3A37C6 #6866D4
Accessibility & contrast
On white
11.18
#2C2A96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#2C2A96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2A96
11.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2A96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2A96 | 1.00 | 11.18 | 1.88 | 11.18 |
| #FFFFFF | 11.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#003694
Tritanopia (blue-blind)
#00485D
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2c2a96; /* rgb */ color: rgb(44, 42, 150); /* oklch */ color: oklch(36.8% 0.170 274.9);
Tailwind
colors: {
custom: {
50: '#7564b6',
500: '#2c2a96',
950: '#000000',
},
}SCSS
$custom: #2c2a96; $custom-light: #7564b6; $custom-dark: #000000;
JSON
{
"hex": "#2c2a96",
"rgb": {
"r": 44,
"g": 42,
"b": 150
},
"hsl": {
"h": 241.111,
"s": 56.25,
"l": 37.647
},
"oklch": {
"l": 0.36837,
"c": 0.1699,
"h": 274.9
},
"luminance": 0.04393
}Semantic roles & 50–950 ramp
primary
#2C2A96
secondary
#B9BA61
accent
#E048DD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80