#2A2AAC#2A2AAC
#2A2AAC is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.0% C 0.198 H 272.4°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2AAC |
|---|---|
| RGB | rgb(42, 42, 172) |
| HSL | hsl(240, 61%, 42%) |
| HSV | hsv(240, 76%, 67%) |
| CMYK | cmyk(75.6%, 75.6%, 0%, 32.5%) |
| CIE-LAB | lab(27.09, 44.06, -68.38) |
| CIE-LCH | lch(27.09, 81.34, 302.80°) |
| OKLab | oklab(39.03% 0.0083 -0.1979) |
| OKLCH | oklch(39.03% 0.198 272.4) |
| XYZ | xyz(9.2267, 5.1258, 39.5248) |
| Luminance | 0.0513 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.90
Sapphire (survey)
#2138AB
ΔE00 4.11
True Blue
#010FCC
ΔE00 5.36
Royal
#0C1793
ΔE00 5.72
Cobalt Blue
#030AA7
ΔE00 5.88
Ultramarine
#2000B1
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2AAC #ACAC2A
analogous
#2A6BAC #2A2AAC #6B2AAC
triadic
#2A2AAC #AC2A2A #2AAC2A
tetradic
#2A2AAC #AC2A6B #ACAC2A #2AAC6B
square
#2A2AAC #AC2A6B #ACAC2A #2AAC6B
split-complementary
#2A2AAC #AC6B2A #6BAC2A
monochromatic
#12124A #1E1E7B #2A2AAC #4242D1 #7373DD
Accessibility & contrast
On white
10.37
#2A2AAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#2A2AAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2AAC
10.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2AAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2AAC | 1.00 | 10.37 | 2.03 | 10.37 |
| #FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046B0
Deuteranopia (green-blind)
#003AAA
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2a2aac; /* rgb */ color: rgb(42, 42, 172); /* oklch */ color: oklch(39.0% 0.198 272.4);
Tailwind
colors: {
custom: {
50: '#7a65c6',
500: '#2a2aac',
950: '#000000',
},
}SCSS
$custom: #2a2aac; $custom-light: #7a65c6; $custom-dark: #000000;
JSON
{
"hex": "#2a2aac",
"rgb": {
"r": 42,
"g": 42,
"b": 172
},
"hsl": {
"h": 240,
"s": 60.748,
"l": 41.961
},
"oklch": {
"l": 0.39026,
"c": 0.19807,
"h": 272.4
},
"luminance": 0.05127
}Semantic roles & 50–950 ramp
primary
#2A2AAC
secondary
#C4C46D
accent
#E444E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82