#2E2BA5#2E2BA5
#2E2BA5 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.7% C 0.187 H 274.3°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2BA5 |
|---|---|
| RGB | rgb(46, 43, 165) |
| HSL | hsl(241, 59%, 41%) |
| HSV | hsv(241, 74%, 65%) |
| CMYK | cmyk(72.1%, 73.9%, 0%, 35.3%) |
| CIE-LAB | lab(26.80, 41.52, -64.62) |
| CIE-LCH | lch(26.80, 76.81, 302.72°) |
| OKLab | oklab(38.67% 0.014 -0.1869) |
| OKLCH | oklch(38.67% 0.187 274.3) |
| XYZ | xyz(8.7799, 5.0244, 36.0971) |
| Luminance | 0.0503 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.07
Indigo Blue
#3A18B1
ΔE00 4.27
Royal
#0C1793
ΔE00 5.50
Cobalt Blue
#030AA7
ΔE00 6.13
True Blue
#010FCC
ΔE00 6.21
Ultramarine
#2000B1
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2BA5 #A2A52B
analogous
#2B65A5 #2E2BA5 #6B2BA5
triadic
#2E2BA5 #A52E2B #2BA52E
tetradic
#2E2BA5 #A52B65 #A2A52B #2BA56B
square
#2E2BA5 #A52B65 #A2A52B #2BA56B
split-complementary
#2E2BA5 #A56B2B #65A52B
monochromatic
#131244 #201E74 #2E2BA5 #4340CD #7371DA
Accessibility & contrast
On white
10.47
#2E2BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#2E2BA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2BA5
10.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2BA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2BA5 | 1.00 | 10.47 | 2.01 | 10.47 |
| #FFFFFF | 10.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A9
Deuteranopia (green-blind)
#003AA3
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2e2ba5; /* rgb */ color: rgb(46, 43, 165); /* oklch */ color: oklch(38.7% 0.187 274.3);
Tailwind
colors: {
custom: {
50: '#7966c1',
500: '#2e2ba5',
950: '#000000',
},
}SCSS
$custom: #2e2ba5; $custom-light: #7966c1; $custom-dark: #000000;
JSON
{
"hex": "#2e2ba5",
"rgb": {
"r": 46,
"g": 43,
"b": 165
},
"hsl": {
"h": 241.475,
"s": 58.654,
"l": 40.784
},
"oklch": {
"l": 0.38669,
"c": 0.1874,
"h": 274.3
},
"luminance": 0.05025
}Semantic roles & 50–950 ramp
primary
#2E2BA5
secondary
#BFC16B
accent
#E246DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81