#2A2E95#2A2E95
#2A2E95 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.165 H 273.4°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2E95 |
|---|---|
| RGB | rgb(42, 46, 149) |
| HSL | hsl(238, 56%, 37%) |
| HSV | hsv(238, 72%, 58%) |
| CMYK | cmyk(71.8%, 69.1%, 0%, 41.6%) |
| CIE-LAB | lab(25.61, 33.71, -56.84) |
| CIE-LCH | lch(25.61, 66.08, 300.68°) |
| OKLab | oklab(37.26% 0.0097 -0.1643) |
| OKLCH | oklch(37.26% 0.165 273.4) |
| XYZ | xyz(7.3548, 4.6154, 28.9312) |
| Luminance | 0.0462 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.14
Royal
#0C1793
ΔE00 5.65
Blueberry
#464196
ΔE00 6.18
Darkslateblue
#483D8B
ΔE00 6.31
Indigo Blue
#3A18B1
ΔE00 6.62
Midnight Blue
#191970
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2E95 #95912A
analogous
#2A6495 #2A2E95 #5C2A95
triadic
#2A2E95 #952A2E #2E952A
tetradic
#2A2E95 #952A64 #95912A #2A955C
square
#2A2E95 #952A64 #95912A #2A955C
split-complementary
#2A2E95 #955C2A #64952A
monochromatic
#0F1136 #1D1F65 #2A2E95 #373DC5 #666AD4
Accessibility & contrast
On white
10.92
#2A2E95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#2A2E95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2E95
10.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2E95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2E95 | 1.00 | 10.92 | 1.92 | 10.92 |
| #FFFFFF | 10.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#003893
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2a2e95; /* rgb */ color: rgb(42, 46, 149); /* oklch */ color: oklch(37.3% 0.165 273.4);
Tailwind
colors: {
custom: {
50: '#7467b5',
500: '#2a2e95',
950: '#000000',
},
}SCSS
$custom: #2a2e95; $custom-light: #7467b5; $custom-dark: #000000;
JSON
{
"hex": "#2a2e95",
"rgb": {
"r": 42,
"g": 46,
"b": 149
},
"hsl": {
"h": 237.757,
"s": 56.021,
"l": 37.451
},
"oklch": {
"l": 0.37262,
"c": 0.16456,
"h": 273.4
},
"luminance": 0.04616
}Semantic roles & 50–950 ramp
primary
#2A2E95
secondary
#BAB761
accent
#DA48DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80