#2A2AA9#2A2AA9
#2A2AA9 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.7% C 0.194 H 272.6°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2AA9 |
|---|---|
| RGB | rgb(42, 42, 169) |
| HSL | hsl(240, 60%, 41%) |
| HSV | hsv(240, 75%, 66%) |
| CMYK | cmyk(75.1%, 75.1%, 0%, 33.7%) |
| CIE-LAB | lab(26.77, 43.06, -67.10) |
| CIE-LCH | lch(26.77, 79.73, 302.69°) |
| OKLab | oklab(38.7% 0.0089 -0.1942) |
| OKLCH | oklch(38.7% 0.194 272.6) |
| XYZ | xyz(8.9418, 5.0118, 38.0245) |
| Luminance | 0.0501 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.04
Sapphire (survey)
#2138AB
ΔE00 4.10
Royal
#0C1793
ΔE00 5.47
True Blue
#010FCC
ΔE00 5.64
Cobalt Blue
#030AA7
ΔE00 5.84
Ultramarine
#2000B1
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2AA9 #A9A92A
analogous
#2A6AA9 #2A2AA9 #6A2AA9
triadic
#2A2AA9 #A92A2A #2AA92A
tetradic
#2A2AA9 #A92A6A #A9A92A #2AA96A
square
#2A2AA9 #A92A6A #A9A92A #2AA96A
split-complementary
#2A2AA9 #A96A2A #6AA92A
monochromatic
#121247 #1E1E78 #2A2AA9 #4141D0 #7272DC
Accessibility & contrast
On white
10.49
#2A2AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#2A2AA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2AA9
10.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2AA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2AA9 | 1.00 | 10.49 | 2.00 | 10.49 |
| #FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045AD
Deuteranopia (green-blind)
#0039A7
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2a2aa9; /* rgb */ color: rgb(42, 42, 169); /* oklch */ color: oklch(38.7% 0.194 272.6);
Tailwind
colors: {
custom: {
50: '#7965c4',
500: '#2a2aa9',
950: '#000000',
},
}SCSS
$custom: #2a2aa9; $custom-light: #7965c4; $custom-dark: #000000;
JSON
{
"hex": "#2a2aa9",
"rgb": {
"r": 42,
"g": 42,
"b": 169
},
"hsl": {
"h": 240,
"s": 60.19,
"l": 41.373
},
"oklch": {
"l": 0.38702,
"c": 0.1944,
"h": 272.6
},
"luminance": 0.05013
}Semantic roles & 50–950 ramp
primary
#2A2AA9
secondary
#C3C36C
accent
#E344E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82