#2A2AA6#2A2AA6
#2A2AA6 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.4% C 0.191 H 272.8°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2AA6 |
|---|---|
| RGB | rgb(42, 42, 166) |
| HSL | hsl(240, 60%, 41%) |
| HSV | hsv(240, 75%, 65%) |
| CMYK | cmyk(74.7%, 74.7%, 0%, 34.9%) |
| CIE-LAB | lab(26.45, 42.05, -65.82) |
| CIE-LCH | lch(26.45, 78.10, 302.57°) |
| OKLab | oklab(38.38% 0.0094 -0.1905) |
| OKLCH | oklch(38.38% 0.191 272.8) |
| XYZ | xyz(8.6634, 4.9004, 36.5583) |
| Luminance | 0.0490 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.12
Indigo Blue
#3A18B1
ΔE00 4.21
Royal
#0C1793
ΔE00 5.25
Cobalt Blue
#030AA7
ΔE00 5.82
True Blue
#010FCC
ΔE00 5.95
Ultramarine
#2000B1
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2AA6 #A6A62A
analogous
#2A68A6 #2A2AA6 #682AA6
triadic
#2A2AA6 #A62A2A #2AA62A
tetradic
#2A2AA6 #A62A68 #A6A62A #2AA668
square
#2A2AA6 #A62A68 #A6A62A #2AA668
split-complementary
#2A2AA6 #A6682A #68A62A
monochromatic
#111144 #1E1E75 #2A2AA6 #3F3FCE #7070DB
Accessibility & contrast
On white
10.60
#2A2AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#2A2AA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2AA6
10.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2AA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2AA6 | 1.00 | 10.60 | 1.98 | 10.60 |
| #FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045AA
Deuteranopia (green-blind)
#0038A4
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2a2aa6; /* rgb */ color: rgb(42, 42, 166); /* oklch */ color: oklch(38.4% 0.191 272.8);
Tailwind
colors: {
custom: {
50: '#7865c2',
500: '#2a2aa6',
950: '#000000',
},
}SCSS
$custom: #2a2aa6; $custom-light: #7865c2; $custom-dark: #000000;
JSON
{
"hex": "#2a2aa6",
"rgb": {
"r": 42,
"g": 42,
"b": 166
},
"hsl": {
"h": 240,
"s": 59.615,
"l": 40.784
},
"oklch": {
"l": 0.38381,
"c": 0.19069,
"h": 272.8
},
"luminance": 0.04901
}Semantic roles & 50–950 ramp
primary
#2A2AA6
secondary
#C2C26A
accent
#E345E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82