#2A2AB2#2A2AB2
#2A2AB2 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.7% C 0.205 H 272.0°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2AB2 |
|---|---|
| RGB | rgb(42, 42, 178) |
| HSL | hsl(240, 62%, 43%) |
| HSV | hsv(240, 76%, 70%) |
| CMYK | cmyk(76.4%, 76.4%, 0%, 30.2%) |
| CIE-LAB | lab(27.74, 46.05, -70.90) |
| CIE-LCH | lch(27.74, 84.54, 303.00°) |
| OKLab | oklab(39.68% 0.0072 -0.2052) |
| OKLCH | oklch(39.68% 0.205 272) |
| XYZ | xyz(9.8160, 5.3615, 42.6284) |
| Luminance | 0.0536 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.76
Sapphire (survey)
#2138AB
ΔE00 4.24
True Blue
#010FCC
ΔE00 4.86
Mediumblue
#0000CD
ΔE00 5.80
Ultramarine
#2000B1
ΔE00 6.00
Ultramarine Blue
#1805DB
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2AB2 #B2B22A
analogous
#2A6EB2 #2A2AB2 #6E2AB2
triadic
#2A2AB2 #B22A2A #2AB22A
tetradic
#2A2AB2 #B22A6E #B2B22A #2AB26E
square
#2A2AB2 #B22A6E #B2B22A #2AB26E
split-complementary
#2A2AB2 #B26E2A #6EB22A
monochromatic
#13134F #1E1E80 #2A2AB2 #4646D3 #7777DF
Accessibility & contrast
On white
10.13
#2A2AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#2A2AB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2AB2
10.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2AB2 | 1.00 | 10.13 | 2.07 | 10.13 |
| #FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048B6
Deuteranopia (green-blind)
#003BB0
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2a2ab2; /* rgb */ color: rgb(42, 42, 178); /* oklch */ color: oklch(39.7% 0.205 272.0);
Tailwind
colors: {
custom: {
50: '#7b66ca',
500: '#2a2ab2',
950: '#000000',
},
}SCSS
$custom: #2a2ab2; $custom-light: #7b66ca; $custom-dark: #000000;
JSON
{
"hex": "#2a2ab2",
"rgb": {
"r": 42,
"g": 42,
"b": 178
},
"hsl": {
"h": 240,
"s": 61.818,
"l": 43.137
},
"oklch": {
"l": 0.39678,
"c": 0.20535,
"h": 272
},
"luminance": 0.05363
}Semantic roles & 50–950 ramp
primary
#2A2AB2
secondary
#C7C771
accent
#E543E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82