#2E3096#2E3096
#2E3096 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.162 H 274.6°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3096 |
|---|---|
| RGB | rgb(46, 48, 150) |
| HSL | hsl(239, 53%, 38%) |
| HSV | hsv(239, 69%, 59%) |
| CMYK | cmyk(69.3%, 68%, 0%, 41.2%) |
| CIE-LAB | lab(26.44, 33.31, -56.08) |
| CIE-LCH | lch(26.44, 65.23, 300.71°) |
| OKLab | oklab(37.96% 0.013 -0.162) |
| OKLCH | oklch(37.96% 0.162 274.6) |
| XYZ | xyz(7.6869, 4.8961, 29.3882) |
| Luminance | 0.0490 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.86
Blueberry
#464196
ΔE00 5.55
Darkslateblue
#483D8B
ΔE00 5.77
Royal
#0C1793
ΔE00 6.23
Indigo Blue
#3A18B1
ΔE00 6.74
Ocean Blue
#4F42B5
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3096 #96942E
analogous
#2E6496 #2E3096 #602E96
triadic
#2E3096 #962E30 #30962E
tetradic
#2E3096 #962E64 #96942E #2E9660
square
#2E3096 #962E64 #96942E #2E9660
split-complementary
#2E3096 #96602E #64962E
monochromatic
#111238 #202167 #2E3096 #3E40C4 #6C6ED2
Accessibility & contrast
On white
10.61
#2E3096 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#2E3096 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3096
10.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3096 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3096 | 1.00 | 10.61 | 1.98 | 10.61 |
| #FFFFFF | 10.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#003A94
Tritanopia (blue-blind)
#004B5F
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2e3096; /* rgb */ color: rgb(46, 48, 150); /* oklch */ color: oklch(38.0% 0.162 274.6);
Tailwind
colors: {
custom: {
50: '#7569b6',
500: '#2e3096',
950: '#000000',
},
}SCSS
$custom: #2e3096; $custom-light: #7569b6; $custom-dark: #000000;
JSON
{
"hex": "#2e3096",
"rgb": {
"r": 46,
"g": 48,
"b": 150
},
"hsl": {
"h": 238.846,
"s": 53.061,
"l": 38.431
},
"oklch": {
"l": 0.37959,
"c": 0.16248,
"h": 274.6
},
"luminance": 0.04897
}Semantic roles & 50–950 ramp
primary
#2E3096
secondary
#B9B867
accent
#DA4BDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80