#2A2CB4#2A2CB4
#2A2CB4 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.2% C 0.206 H 271.7°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2CB4 |
|---|---|
| RGB | rgb(42, 44, 180) |
| HSL | hsl(239, 62%, 44%) |
| HSV | hsv(239, 77%, 71%) |
| CMYK | cmyk(76.7%, 75.6%, 0%, 29.4%) |
| CIE-LAB | lab(28.35, 45.60, -71.09) |
| CIE-LCH | lch(28.35, 84.46, 302.68°) |
| OKLab | oklab(40.17% 0.006 -0.2058) |
| OKLCH | oklch(40.17% 0.206 271.7) |
| XYZ | xyz(10.0910, 5.5878, 43.7179) |
| Luminance | 0.0559 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.88
Indigo Blue
#3A18B1
ΔE00 4.19
True Blue
#010FCC
ΔE00 5.09
Mediumblue
#0000CD
ΔE00 6.08
Ultramarine Blue
#1805DB
ΔE00 6.14
Blue Blue
#2242C7
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2CB4 #B4B22A
analogous
#2A71B4 #2A2CB4 #6D2AB4
triadic
#2A2CB4 #B42A2C #2CB42A
tetradic
#2A2CB4 #B42A71 #B4B22A #2AB46D
square
#2A2CB4 #B42A71 #B4B22A #2AB46D
split-complementary
#2A2CB4 #B46D2A #71B42A
monochromatic
#131451 #1E2082 #2A2CB4 #4749D4 #797AE0
Accessibility & contrast
On white
9.92
#2A2CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#2A2CB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2CB4
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2CB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2CB4 | 1.00 | 9.92 | 2.12 | 9.92 |
| #FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AB8
Deuteranopia (green-blind)
#003CB2
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2a2cb4; /* rgb */ color: rgb(42, 44, 180); /* oklch */ color: oklch(40.2% 0.206 271.7);
Tailwind
colors: {
custom: {
50: '#7b67cc',
500: '#2a2cb4',
950: '#000000',
},
}SCSS
$custom: #2a2cb4; $custom-light: #7b67cc; $custom-dark: #000000;
JSON
{
"hex": "#2a2cb4",
"rgb": {
"r": 42,
"g": 44,
"b": 180
},
"hsl": {
"h": 239.13,
"s": 62.162,
"l": 43.529
},
"oklch": {
"l": 0.40171,
"c": 0.20588,
"h": 271.7
},
"luminance": 0.05589
}Semantic roles & 50–950 ramp
primary
#2A2CB4
secondary
#C8C672
accent
#E343E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82