#2A2AAF#2A2AAF
#2A2AAF is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.4% C 0.202 H 272.2°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2AAF |
|---|---|
| RGB | rgb(42, 42, 175) |
| HSL | hsl(240, 61%, 43%) |
| HSV | hsv(240, 76%, 69%) |
| CMYK | cmyk(76%, 76%, 0%, 31.4%) |
| CIE-LAB | lab(27.41, 45.06, -69.64) |
| CIE-LCH | lch(27.41, 82.95, 302.90°) |
| OKLab | oklab(39.35% 0.0078 -0.2016) |
| OKLCH | oklch(39.35% 0.202 272.2) |
| XYZ | xyz(9.5181, 5.2423, 41.0594) |
| Luminance | 0.0524 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.81
Sapphire (survey)
#2138AB
ΔE00 4.16
True Blue
#010FCC
ΔE00 5.10
Cobalt Blue
#030AA7
ΔE00 5.96
Royal
#0C1793
ΔE00 5.99
Ultramarine
#2000B1
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2AAF #AFAF2A
analogous
#2A6CAF #2A2AAF #6C2AAF
triadic
#2A2AAF #AF2A2A #2AAF2A
tetradic
#2A2AAF #AF2A6C #AFAF2A #2AAF6C
square
#2A2AAF #AF2A6C #AFAF2A #2AAF6C
split-complementary
#2A2AAF #AF6C2A #6CAF2A
monochromatic
#12124C #1E1E7E #2A2AAF #4444D2 #7575DE
Accessibility & contrast
On white
10.25
#2A2AAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#2A2AAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2AAF
10.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2AAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2AAF | 1.00 | 10.25 | 2.05 | 10.25 |
| #FFFFFF | 10.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047B3
Deuteranopia (green-blind)
#003AAD
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2a2aaf; /* rgb */ color: rgb(42, 42, 175); /* oklch */ color: oklch(39.4% 0.202 272.2);
Tailwind
colors: {
custom: {
50: '#7a66c8',
500: '#2a2aaf',
950: '#000000',
},
}SCSS
$custom: #2a2aaf; $custom-light: #7a66c8; $custom-dark: #000000;
JSON
{
"hex": "#2a2aaf",
"rgb": {
"r": 42,
"g": 42,
"b": 175
},
"hsl": {
"h": 240,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.39351,
"c": 0.20173,
"h": 272.2
},
"luminance": 0.05243
}Semantic roles & 50–950 ramp
primary
#2A2AAF
secondary
#C6C66F
accent
#E443E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82