#2E2BA9#2E2BA9
#2E2BA9 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.1% C 0.192 H 273.9°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2BA9 |
|---|---|
| RGB | rgb(46, 43, 169) |
| HSL | hsl(241, 59%, 42%) |
| HSV | hsv(241, 75%, 66%) |
| CMYK | cmyk(72.8%, 74.6%, 0%, 33.7%) |
| CIE-LAB | lab(27.22, 42.86, -66.35) |
| CIE-LCH | lch(27.22, 78.99, 302.86°) |
| OKLab | oklab(39.09% 0.0132 -0.1919) |
| OKLCH | oklch(39.09% 0.192 273.9) |
| XYZ | xyz(9.1496, 5.1723, 38.0446) |
| Luminance | 0.0517 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.03
Indigo Blue
#3A18B1
ΔE00 4.04
Royal
#0C1793
ΔE00 5.78
True Blue
#010FCC
ΔE00 5.81
Cobalt Blue
#030AA7
ΔE00 6.14
Ultramarine
#2000B1
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2BA9 #A6A92B
analogous
#2B67A9 #2E2BA9 #6D2BA9
triadic
#2E2BA9 #A92E2B #2BA92E
tetradic
#2E2BA9 #A92B67 #A6A92B #2BA96D
square
#2E2BA9 #A92B67 #A6A92B #2BA96D
split-complementary
#2E2BA9 #A96D2B #67A92B
monochromatic
#131247 #211F78 #2E2BA9 #4642CF #7673DB
Accessibility & contrast
On white
10.32
#2E2BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#2E2BA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2BA9
10.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2BA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2BA9 | 1.00 | 10.32 | 2.03 | 10.32 |
| #FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046AD
Deuteranopia (green-blind)
#003AA7
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2e2ba9; /* rgb */ color: rgb(46, 43, 169); /* oklch */ color: oklch(39.1% 0.192 273.9);
Tailwind
colors: {
custom: {
50: '#7a66c4',
500: '#2e2ba9',
950: '#000000',
},
}SCSS
$custom: #2e2ba9; $custom-light: #7a66c4; $custom-dark: #000000;
JSON
{
"hex": "#2e2ba9",
"rgb": {
"r": 46,
"g": 43,
"b": 169
},
"hsl": {
"h": 241.429,
"s": 59.434,
"l": 41.569
},
"oklch": {
"l": 0.39089,
"c": 0.19237,
"h": 273.9
},
"luminance": 0.05173
}Semantic roles & 50–950 ramp
primary
#2E2BA9
secondary
#C1C36D
accent
#E345DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82