#2A2CB3#2A2CB3
#2A2CB3 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.1% C 0.205 H 271.7°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2CB3 |
|---|---|
| RGB | rgb(42, 44, 179) |
| HSL | hsl(239, 62%, 43%) |
| HSV | hsv(239, 77%, 70%) |
| CMYK | cmyk(76.5%, 75.4%, 0%, 29.8%) |
| CIE-LAB | lab(28.24, 45.27, -70.67) |
| CIE-LCH | lch(28.24, 83.92, 302.64°) |
| OKLab | oklab(40.06% 0.0062 -0.2046) |
| OKLCH | oklch(40.06% 0.205 271.7) |
| XYZ | xyz(9.9895, 5.5472, 43.1833) |
| Luminance | 0.0555 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.84
Indigo Blue
#3A18B1
ΔE00 4.19
True Blue
#010FCC
ΔE00 5.16
Mediumblue
#0000CD
ΔE00 6.13
Ultramarine Blue
#1805DB
ΔE00 6.23
Blue Blue
#2242C7
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2CB3 #B3B12A
analogous
#2A70B3 #2A2CB3 #6C2AB3
triadic
#2A2CB3 #B32A2C #2CB32A
tetradic
#2A2CB3 #B32A70 #B3B12A #2AB36C
square
#2A2CB3 #B32A70 #B3B12A #2AB36C
split-complementary
#2A2CB3 #B36C2A #70B32A
monochromatic
#131450 #1E2081 #2A2CB3 #4649D4 #787ADF
Accessibility & contrast
On white
9.95
#2A2CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#2A2CB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2CB3
9.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2CB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2CB3 | 1.00 | 9.95 | 2.11 | 9.95 |
| #FFFFFF | 9.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B7
Deuteranopia (green-blind)
#003CB1
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2a2cb3; /* rgb */ color: rgb(42, 44, 179); /* oklch */ color: oklch(40.1% 0.205 271.7);
Tailwind
colors: {
custom: {
50: '#7b67cb',
500: '#2a2cb3',
950: '#000000',
},
}SCSS
$custom: #2a2cb3; $custom-light: #7b67cb; $custom-dark: #000000;
JSON
{
"hex": "#2a2cb3",
"rgb": {
"r": 42,
"g": 44,
"b": 179
},
"hsl": {
"h": 239.124,
"s": 61.991,
"l": 43.333
},
"oklch": {
"l": 0.40063,
"c": 0.20467,
"h": 271.7
},
"luminance": 0.05548
}Semantic roles & 50–950 ramp
primary
#2A2CB3
secondary
#C7C672
accent
#E343E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82