#2A2AAA#2A2AAA
#2A2AAA is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.8% C 0.196 H 272.5°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2AAA |
|---|---|
| RGB | rgb(42, 42, 170) |
| HSL | hsl(240, 60%, 42%) |
| HSV | hsv(240, 75%, 67%) |
| CMYK | cmyk(75.3%, 75.3%, 0%, 33.3%) |
| CIE-LAB | lab(26.88, 43.39, -67.53) |
| CIE-LCH | lch(26.88, 80.27, 302.72°) |
| OKLab | oklab(38.81% 0.0087 -0.1954) |
| OKLCH | oklch(38.81% 0.196 272.5) |
| XYZ | xyz(9.0361, 5.0495, 38.5208) |
| Luminance | 0.0505 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.99
Sapphire (survey)
#2138AB
ΔE00 4.10
True Blue
#010FCC
ΔE00 5.54
Royal
#0C1793
ΔE00 5.55
Cobalt Blue
#030AA7
ΔE00 5.85
Ultramarine
#2000B1
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2AAA #AAAA2A
analogous
#2A6AAA #2A2AAA #6A2AAA
triadic
#2A2AAA #AA2A2A #2AAA2A
tetradic
#2A2AAA #AA2A6A #AAAA2A #2AAA6A
square
#2A2AAA #AA2A6A #AAAA2A #2AAA6A
split-complementary
#2A2AAA #AA6A2A #6AAA2A
monochromatic
#121248 #1E1E79 #2A2AAA #4141D0 #7272DC
Accessibility & contrast
On white
10.45
#2A2AAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#2A2AAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2AAA
10.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2AAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2AAA | 1.00 | 10.45 | 2.01 | 10.45 |
| #FFFFFF | 10.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046AE
Deuteranopia (green-blind)
#0039A8
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2a2aaa; /* rgb */ color: rgb(42, 42, 170); /* oklch */ color: oklch(38.8% 0.196 272.5);
Tailwind
colors: {
custom: {
50: '#7965c5',
500: '#2a2aaa',
950: '#000000',
},
}SCSS
$custom: #2a2aaa; $custom-light: #7965c5; $custom-dark: #000000;
JSON
{
"hex": "#2a2aaa",
"rgb": {
"r": 42,
"g": 42,
"b": 170
},
"hsl": {
"h": 240,
"s": 60.377,
"l": 41.569
},
"oklch": {
"l": 0.3881,
"c": 0.19562,
"h": 272.5
},
"luminance": 0.0505
}Semantic roles & 50–950 ramp
primary
#2A2AAA
secondary
#C3C36C
accent
#E444E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82