#2A2AA5#2A2AA5
#2A2AA5 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.189 H 272.9°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2AA5 |
|---|---|
| RGB | rgb(42, 42, 165) |
| HSL | hsl(240, 59%, 41%) |
| HSV | hsv(240, 75%, 65%) |
| CMYK | cmyk(74.5%, 74.5%, 0%, 35.3%) |
| CIE-LAB | lab(26.34, 41.71, -65.39) |
| CIE-LCH | lch(26.34, 77.56, 302.53°) |
| OKLab | oklab(38.27% 0.0096 -0.1892) |
| OKLCH | oklch(38.27% 0.189 272.9) |
| XYZ | xyz(8.5721, 4.8639, 36.0771) |
| Luminance | 0.0486 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.13
Indigo Blue
#3A18B1
ΔE00 4.28
Royal
#0C1793
ΔE00 5.18
Cobalt Blue
#030AA7
ΔE00 5.83
True Blue
#010FCC
ΔE00 6.05
Ultramarine
#2000B1
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2AA5 #A5A52A
analogous
#2A67A5 #2A2AA5 #672AA5
triadic
#2A2AA5 #A52A2A #2AA52A
tetradic
#2A2AA5 #A52A67 #A5A52A #2AA567
square
#2A2AA5 #A52A67 #A5A52A #2AA567
split-complementary
#2A2AA5 #A5672A #67A52A
monochromatic
#111143 #1E1E74 #2A2AA5 #3E3ECE #6F6FDA
Accessibility & contrast
On white
10.64
#2A2AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#2A2AA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2AA5
10.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2AA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2AA5 | 1.00 | 10.64 | 1.97 | 10.64 |
| #FFFFFF | 10.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A9
Deuteranopia (green-blind)
#0038A3
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2a2aa5; /* rgb */ color: rgb(42, 42, 165); /* oklch */ color: oklch(38.3% 0.189 272.9);
Tailwind
colors: {
custom: {
50: '#7865c1',
500: '#2a2aa5',
950: '#000000',
},
}SCSS
$custom: #2a2aa5; $custom-light: #7865c1; $custom-dark: #000000;
JSON
{
"hex": "#2a2aa5",
"rgb": {
"r": 42,
"g": 42,
"b": 165
},
"hsl": {
"h": 240,
"s": 59.42,
"l": 40.588
},
"oklch": {
"l": 0.38274,
"c": 0.18945,
"h": 272.9
},
"luminance": 0.04865
}Semantic roles & 50–950 ramp
primary
#2A2AA5
secondary
#C1C169
accent
#E345E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81