#2E2BA6#2E2BA6
#2E2BA6 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.8% C 0.189 H 274.2°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2BA6 |
|---|---|
| RGB | rgb(46, 43, 166) |
| HSL | hsl(241, 59%, 41%) |
| HSV | hsv(241, 74%, 65%) |
| CMYK | cmyk(72.3%, 74.1%, 0%, 34.9%) |
| CIE-LAB | lab(26.91, 41.86, -65.05) |
| CIE-LCH | lch(26.91, 77.36, 302.76°) |
| OKLab | oklab(38.77% 0.0138 -0.1882) |
| OKLCH | oklch(38.77% 0.189 274.2) |
| XYZ | xyz(8.8712, 5.0609, 36.5783) |
| Luminance | 0.0506 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.05
Indigo Blue
#3A18B1
ΔE00 4.21
Royal
#0C1793
ΔE00 5.56
True Blue
#010FCC
ΔE00 6.10
Cobalt Blue
#030AA7
ΔE00 6.12
Ultramarine
#2000B1
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2BA6 #A3A62B
analogous
#2B65A6 #2E2BA6 #6B2BA6
triadic
#2E2BA6 #A62E2B #2BA62E
tetradic
#2E2BA6 #A62B65 #A3A62B #2BA66B
square
#2E2BA6 #A62B65 #A3A62B #2BA66B
split-complementary
#2E2BA6 #A66B2B #65A62B
monochromatic
#131245 #211E75 #2E2BA6 #4441CE #7471DA
Accessibility & contrast
On white
10.44
#2E2BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#2E2BA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2BA6
10.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2BA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2BA6 | 1.00 | 10.44 | 2.01 | 10.44 |
| #FFFFFF | 10.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045AA
Deuteranopia (green-blind)
#003AA4
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2e2ba6; /* rgb */ color: rgb(46, 43, 166); /* oklch */ color: oklch(38.8% 0.189 274.2);
Tailwind
colors: {
custom: {
50: '#7966c2',
500: '#2e2ba6',
950: '#000000',
},
}SCSS
$custom: #2e2ba6; $custom-light: #7966c2; $custom-dark: #000000;
JSON
{
"hex": "#2e2ba6",
"rgb": {
"r": 46,
"g": 43,
"b": 166
},
"hsl": {
"h": 241.463,
"s": 58.852,
"l": 40.98
},
"oklch": {
"l": 0.38774,
"c": 0.18865,
"h": 274.2
},
"luminance": 0.05062
}Semantic roles & 50–950 ramp
primary
#2E2BA6
secondary
#BFC16B
accent
#E246DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81