#2A2A74#2A2A74
#2A2A74 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.4% C 0.124 H 277.3°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2A74 |
|---|---|
| RGB | rgb(42, 42, 116) |
| HSL | hsl(240, 47%, 31%) |
| HSV | hsv(240, 64%, 45%) |
| CMYK | cmyk(63.8%, 63.8%, 0%, 54.5%) |
| CIE-LAB | lab(21.61, 24.40, -42.67) |
| CIE-LCH | lch(21.61, 49.16, 299.76°) |
| OKLab | oklab(33.42% 0.0158 -0.1228) |
| OKLCH | oklch(33.42% 0.124 277.3) |
| XYZ | xyz(4.9342, 3.4087, 16.9175) |
| Luminance | 0.0341 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.84
Darkslateblue
#483D8B
ΔE00 6.94
Royal
#0C1793
ΔE00 7.58
Marine
#042E60
ΔE00 7.68
Blueberry
#464196
ΔE00 8.19
Sapphire (survey)
#2138AB
ΔE00 8.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2A74 #74742A
analogous
#2A4F74 #2A2A74 #4F2A74
triadic
#2A2A74 #742A2A #2A742A
tetradic
#2A2A74 #742A4F #74742A #2A744F
square
#2A2A74 #742A4F #74742A #2A744F
split-complementary
#2A2A74 #744F2A #4F742A
monochromatic
#09091A #1A1A47 #2A2A74 #3A3AA1 #5656C2
Accessibility & contrast
On white
12.49
#2A2A74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#2A2A74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2A74
12.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2A74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2A74 | 1.00 | 12.49 | 1.68 | 12.49 |
| #FFFFFF | 12.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003776
Deuteranopia (green-blind)
#003173
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2a2a74; /* rgb */ color: rgb(42, 42, 116); /* oklch */ color: oklch(33.4% 0.124 277.3);
Tailwind
colors: {
custom: {
50: '#6c639d',
500: '#2a2a74',
950: '#000000',
},
}SCSS
$custom: #2a2a74; $custom-light: #6c639d; $custom-dark: #000000;
JSON
{
"hex": "#2a2a74",
"rgb": {
"r": 42,
"g": 42,
"b": 116
},
"hsl": {
"h": 240,
"s": 46.835,
"l": 30.98
},
"oklch": {
"l": 0.33418,
"c": 0.12378,
"h": 277.3
},
"luminance": 0.03409
}Semantic roles & 50–950 ramp
primary
#2A2A74
secondary
#A6A654
accent
#D651D6
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E