#2A2A90#2A2A90
#2A2A90 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.163 H 274.6°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2A90 |
|---|---|
| RGB | rgb(42, 42, 144) |
| HSL | hsl(240, 55%, 36%) |
| HSV | hsv(240, 71%, 56%) |
| CMYK | cmyk(70.8%, 70.8%, 0%, 43.5%) |
| CIE-LAB | lab(24.20, 34.46, -56.07) |
| CIE-LCH | lch(24.20, 65.81, 301.57°) |
| OKLab | oklab(36.1% 0.013 -0.162) |
| OKLCH | oklch(36.1% 0.163 274.6) |
| XYZ | xyz(6.8152, 4.1611, 26.8242) |
| Luminance | 0.0416 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.73
Sapphire (survey)
#2138AB
ΔE00 5.36
Midnight Blue
#191970
ΔE00 6.18
Indigo Blue
#3A18B1
ΔE00 6.42
Darkslateblue
#483D8B
ΔE00 6.77
Cobalt Blue
#030AA7
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2A90 #90902A
analogous
#2A5D90 #2A2A90 #5D2A90
triadic
#2A2A90 #902A2A #2A902A
tetradic
#2A2A90 #902A5D #90902A #2A905D
square
#2A2A90 #902A5D #90902A #2A905D
split-complementary
#2A2A90 #905D2A #5D902A
monochromatic
#0E0E31 #1C1C61 #2A2A90 #3838BF #6363D1
Accessibility & contrast
On white
11.46
#2A2A90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#2A2A90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2A90
11.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2A90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2A90 | 1.00 | 11.46 | 1.83 | 11.46 |
| #FFFFFF | 11.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2a2a90; /* rgb */ color: rgb(42, 42, 144); /* oklch */ color: oklch(36.1% 0.163 274.6);
Tailwind
colors: {
custom: {
50: '#7364b2',
500: '#2a2a90',
950: '#000000',
},
}SCSS
$custom: #2a2a90; $custom-light: #7364b2; $custom-dark: #000000;
JSON
{
"hex": "#2a2a90",
"rgb": {
"r": 42,
"g": 42,
"b": 144
},
"hsl": {
"h": 240,
"s": 54.839,
"l": 36.471
},
"oklch": {
"l": 0.36095,
"c": 0.16255,
"h": 274.6
},
"luminance": 0.04162
}Semantic roles & 50–950 ramp
primary
#2A2A90
secondary
#B7B75E
accent
#DE4ADE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80