#2A2E7C#2A2E7C
#2A2E7C is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.9% C 0.130 H 275.2°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2E7C |
|---|---|
| RGB | rgb(42, 46, 124) |
| HSL | hsl(237, 49%, 33%) |
| HSV | hsv(237, 66%, 49%) |
| CMYK | cmyk(66.1%, 62.9%, 0%, 51.4%) |
| CIE-LAB | lab(23.34, 24.62, -44.95) |
| CIE-LCH | lch(23.34, 51.25, 298.71°) |
| OKLab | oklab(34.91% 0.0117 -0.1294) |
| OKLCH | oklch(34.91% 0.13 275.2) |
| XYZ | xyz(5.5687, 3.9010, 19.5244) |
| Luminance | 0.0390 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.87
Darkslateblue
#483D8B
ΔE00 6.03
Blueberry
#464196
ΔE00 6.92
Sapphire (survey)
#2138AB
ΔE00 7.35
Royal
#0C1793
ΔE00 7.48
Marine
#042E60
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2E7C #7C782A
analogous
#2A577C #2A2E7C #4F2A7C
triadic
#2A2E7C #7C2A2E #2E7C2A
tetradic
#2A2E7C #7C2A57 #7C782A #2A7C4F
square
#2A2E7C #7C2A57 #7C782A #2A7C4F
split-complementary
#2A2E7C #7C4F2A #577C2A
monochromatic
#0B0C21 #1B1D4E #2A2E7C #393FAA #595FC7
Accessibility & contrast
On white
11.80
#2A2E7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#2A2E7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2E7C
11.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2E7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2E7C | 1.00 | 11.80 | 1.78 | 11.80 |
| #FFFFFF | 11.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B7F
Deuteranopia (green-blind)
#00347A
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2a2e7c; /* rgb */ color: rgb(42, 46, 124); /* oklch */ color: oklch(34.9% 0.130 275.2);
Tailwind
colors: {
custom: {
50: '#6e66a3',
500: '#2a2e7c',
950: '#000000',
},
}SCSS
$custom: #2a2e7c; $custom-light: #6e66a3; $custom-dark: #000000;
JSON
{
"hex": "#2a2e7c",
"rgb": {
"r": 42,
"g": 46,
"b": 124
},
"hsl": {
"h": 237.073,
"s": 49.398,
"l": 32.549
},
"oklch": {
"l": 0.34905,
"c": 0.12996,
"h": 275.2
},
"luminance": 0.03901
}Semantic roles & 50–950 ramp
primary
#2A2E7C
secondary
#ADA855
accent
#D24FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F