#2C2AA5#2C2AA5
#2C2AA5 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.4% C 0.189 H 273.6°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2AA5 |
|---|---|
| RGB | rgb(44, 42, 165) |
| HSL | hsl(241, 59%, 41%) |
| HSV | hsv(241, 75%, 65%) |
| CMYK | cmyk(73.3%, 74.5%, 0%, 35.3%) |
| CIE-LAB | lab(26.47, 41.90, -65.18) |
| CIE-LCH | lch(26.47, 77.48, 302.74°) |
| OKLab | oklab(38.4% 0.012 -0.1885) |
| OKLCH | oklch(38.4% 0.189 273.6) |
| XYZ | xyz(8.6559, 4.9071, 36.0810) |
| Luminance | 0.0491 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.17
Sapphire (survey)
#2138AB
ΔE00 4.21
Royal
#0C1793
ΔE00 5.24
Cobalt Blue
#030AA7
ΔE00 5.86
True Blue
#010FCC
ΔE00 6.05
Ultramarine
#2000B1
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2AA5 #A3A52A
analogous
#2A65A5 #2C2AA5 #6A2AA5
triadic
#2C2AA5 #A52C2A #2AA52C
tetradic
#2C2AA5 #A52A65 #A3A52A #2AA56A
square
#2C2AA5 #A52A65 #A3A52A #2AA56A
split-complementary
#2C2AA5 #A56A2A #65A52A
monochromatic
#121143 #1F1E74 #2C2AA5 #413ECE #716FDA
Accessibility & contrast
On white
10.60
#2C2AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#2C2AA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2AA5
10.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2AA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2AA5 | 1.00 | 10.60 | 1.98 | 10.60 |
| #FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A9
Deuteranopia (green-blind)
#0039A3
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2c2aa5; /* rgb */ color: rgb(44, 42, 165); /* oklch */ color: oklch(38.4% 0.189 273.6);
Tailwind
colors: {
custom: {
50: '#7965c1',
500: '#2c2aa5',
950: '#000000',
},
}SCSS
$custom: #2c2aa5; $custom-light: #7965c1; $custom-dark: #000000;
JSON
{
"hex": "#2c2aa5",
"rgb": {
"r": 44,
"g": 42,
"b": 165
},
"hsl": {
"h": 240.976,
"s": 59.42,
"l": 40.588
},
"oklch": {
"l": 0.38397,
"c": 0.18893,
"h": 273.6
},
"luminance": 0.04908
}Semantic roles & 50–950 ramp
primary
#2C2AA5
secondary
#C0C169
accent
#E345E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81