#2E3396#2E3396
#2E3396 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.5% C 0.159 H 273.9°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3396 |
|---|---|
| RGB | rgb(46, 51, 150) |
| HSL | hsl(237, 53%, 38%) |
| HSV | hsv(237, 69%, 59%) |
| CMYK | cmyk(69.3%, 66%, 0%, 41.2%) |
| CIE-LAB | lab(27.16, 31.39, -54.90) |
| CIE-LCH | lch(27.16, 63.24, 299.75°) |
| OKLab | oklab(38.48% 0.0108 -0.1585) |
| OKLCH | oklch(38.48% 0.159 273.9) |
| XYZ | xyz(7.8137, 5.1498, 29.4305) |
| Luminance | 0.0515 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.42
Blueberry
#464196
ΔE00 4.94
Darkslateblue
#483D8B
ΔE00 5.37
Royal
#0C1793
ΔE00 7.05
Ocean Blue
#4F42B5
ΔE00 7.15
Indigo Blue
#3A18B1
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3396 #96912E
analogous
#2E6796 #2E3396 #5D2E96
triadic
#2E3396 #962E33 #33962E
tetradic
#2E3396 #962E67 #96912E #2E965D
square
#2E3396 #962E67 #96912E #2E965D
split-complementary
#2E3396 #965D2E #67962E
monochromatic
#111338 #202367 #2E3396 #3E44C4 #6C71D2
Accessibility & contrast
On white
10.34
#2E3396 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#2E3396 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3396
10.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3396 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3396 | 1.00 | 10.34 | 2.03 | 10.34 |
| #FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#003B94
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2e3396; /* rgb */ color: rgb(46, 51, 150); /* oklch */ color: oklch(38.5% 0.159 273.9);
Tailwind
colors: {
custom: {
50: '#756bb6',
500: '#2e3396',
950: '#000000',
},
}SCSS
$custom: #2e3396; $custom-light: #756bb6; $custom-dark: #000000;
JSON
{
"hex": "#2e3396",
"rgb": {
"r": 46,
"g": 51,
"b": 150
},
"hsl": {
"h": 237.115,
"s": 53.061,
"l": 38.431
},
"oklch": {
"l": 0.38484,
"c": 0.15886,
"h": 273.9
},
"luminance": 0.05151
}Semantic roles & 50–950 ramp
primary
#2E3396
secondary
#B9B567
accent
#D54BDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80