#2A2AB6#2A2AB6
#2A2AB6 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.1% C 0.210 H 271.7°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2AB6 |
|---|---|
| RGB | rgb(42, 42, 182) |
| HSL | hsl(240, 63%, 44%) |
| HSV | hsv(240, 77%, 71%) |
| CMYK | cmyk(76.9%, 76.9%, 0%, 28.6%) |
| CIE-LAB | lab(28.18, 47.36, -72.55) |
| CIE-LCH | lch(28.18, 86.64, 303.13°) |
| OKLab | oklab(40.12% 0.0064 -0.21) |
| OKLCH | oklch(40.12% 0.21 271.7) |
| XYZ | xyz(10.2235, 5.5245, 44.7744) |
| Luminance | 0.0553 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.77
Sapphire (survey)
#2138AB
ΔE00 4.39
True Blue
#010FCC
ΔE00 4.60
Mediumblue
#0000CD
ΔE00 5.57
Ultramarine Blue
#1805DB
ΔE00 5.64
Ultramarine
#2000B1
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2AB6 #B6B62A
analogous
#2A70B6 #2A2AB6 #702AB6
triadic
#2A2AB6 #B62A2A #2AB62A
tetradic
#2A2AB6 #B62A70 #B6B62A #2AB670
square
#2A2AB6 #B62A70 #B6B62A #2AB670
split-complementary
#2A2AB6 #B6702A #70B62A
monochromatic
#131353 #1F1F84 #2A2AB6 #4848D5 #7A7AE0
Accessibility & contrast
On white
9.98
#2A2AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#2A2AB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2AB6
9.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2AB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2AB6 | 1.00 | 9.98 | 2.11 | 9.98 |
| #FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049BA
Deuteranopia (green-blind)
#003BB4
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2a2ab6; /* rgb */ color: rgb(42, 42, 182); /* oklch */ color: oklch(40.1% 0.210 271.7);
Tailwind
colors: {
custom: {
50: '#7c66cd',
500: '#2a2ab6',
950: '#000000',
},
}SCSS
$custom: #2a2ab6; $custom-light: #7c66cd; $custom-dark: #000000;
JSON
{
"hex": "#2a2ab6",
"rgb": {
"r": 42,
"g": 42,
"b": 182
},
"hsl": {
"h": 240,
"s": 62.5,
"l": 43.922
},
"oklch": {
"l": 0.40116,
"c": 0.21014,
"h": 271.7
},
"luminance": 0.05526
}Semantic roles & 50–950 ramp
primary
#2A2AB6
secondary
#C8C873
accent
#E642E6
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82