#2C2AA6#2C2AA6
#2C2AA6 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.5% C 0.190 H 273.6°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2AA6 |
|---|---|
| RGB | rgb(44, 42, 166) |
| HSL | hsl(241, 60%, 41%) |
| HSV | hsv(241, 75%, 65%) |
| CMYK | cmyk(73.5%, 74.7%, 0%, 34.9%) |
| CIE-LAB | lab(26.57, 42.24, -65.61) |
| CIE-LCH | lch(26.57, 78.03, 302.77°) |
| OKLab | oklab(38.5% 0.0118 -0.1898) |
| OKLCH | oklch(38.5% 0.19 273.6) |
| XYZ | xyz(8.7473, 4.9437, 36.5622) |
| Luminance | 0.0495 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.10
Sapphire (survey)
#2138AB
ΔE00 4.20
Royal
#0C1793
ΔE00 5.31
Cobalt Blue
#030AA7
ΔE00 5.86
True Blue
#010FCC
ΔE00 5.94
Ultramarine
#2000B1
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2AA6 #A4A62A
analogous
#2A66A6 #2C2AA6 #6A2AA6
triadic
#2C2AA6 #A62C2A #2AA62C
tetradic
#2C2AA6 #A62A66 #A4A62A #2AA66A
square
#2C2AA6 #A62A66 #A4A62A #2AA66A
split-complementary
#2C2AA6 #A66A2A #66A62A
monochromatic
#121144 #1F1E75 #2C2AA6 #413FCE #7170DB
Accessibility & contrast
On white
10.56
#2C2AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#2C2AA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2AA6
10.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2AA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2AA6 | 1.00 | 10.56 | 1.99 | 10.56 |
| #FFFFFF | 10.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045AA
Deuteranopia (green-blind)
#0039A4
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2c2aa6; /* rgb */ color: rgb(44, 42, 166); /* oklch */ color: oklch(38.5% 0.190 273.6);
Tailwind
colors: {
custom: {
50: '#7965c2',
500: '#2c2aa6',
950: '#000000',
},
}SCSS
$custom: #2c2aa6; $custom-light: #7965c2; $custom-dark: #000000;
JSON
{
"hex": "#2c2aa6",
"rgb": {
"r": 44,
"g": 42,
"b": 166
},
"hsl": {
"h": 240.968,
"s": 59.615,
"l": 40.784
},
"oklch": {
"l": 0.38503,
"c": 0.19017,
"h": 273.6
},
"luminance": 0.04945
}Semantic roles & 50–950 ramp
primary
#2C2AA6
secondary
#C0C26A
accent
#E345E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82