#2E3791#2E3791
#2E3791 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.8% C 0.147 H 273.1°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3791 |
|---|---|
| RGB | rgb(46, 55, 145) |
| HSL | hsl(235, 52%, 37%) |
| HSV | hsv(235, 68%, 57%) |
| CMYK | cmyk(68.3%, 62.1%, 0%, 43.1%) |
| CIE-LAB | lab(27.73, 26.94, -50.90) |
| CIE-LCH | lch(27.73, 57.59, 297.89°) |
| OKLab | oklab(38.77% 0.0078 -0.1467) |
| OKLCH | oklch(38.77% 0.147 273.1) |
| XYZ | xyz(7.6020, 5.3569, 27.4159) |
| Luminance | 0.0536 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.88
Blueberry
#464196
ΔE00 4.28
Darkslateblue
#483D8B
ΔE00 4.80
Cobalt
#0047AB
ΔE00 7.31
Cobalt (survey)
#1E488F
ΔE00 7.37
Ocean Blue
#4F42B5
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3791 #91882E
analogous
#2E6991 #2E3791 #562E91
triadic
#2E3791 #912E37 #37912E
tetradic
#2E3791 #912E69 #91882E #2E9156
square
#2E3791 #912E69 #91882E #2E9156
split-complementary
#2E3791 #91562E #69912E
monochromatic
#111434 #1F2563 #2E3791 #3D49BF #6A73D0
Accessibility & contrast
On white
10.14
#2E3791 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#2E3791 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3791
10.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3791 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3791 | 1.00 | 10.14 | 2.07 | 10.14 |
| #FFFFFF | 10.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004694
Deuteranopia (green-blind)
#003D8F
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2e3791; /* rgb */ color: rgb(46, 55, 145); /* oklch */ color: oklch(38.8% 0.147 273.1);
Tailwind
colors: {
custom: {
50: '#746db2',
500: '#2e3791',
950: '#000000',
},
}SCSS
$custom: #2e3791; $custom-light: #746db2; $custom-dark: #000000;
JSON
{
"hex": "#2e3791",
"rgb": {
"r": 46,
"g": 55,
"b": 145
},
"hsl": {
"h": 234.545,
"s": 51.832,
"l": 37.451
},
"oklch": {
"l": 0.38768,
"c": 0.14692,
"h": 273.1
},
"luminance": 0.05358
}Semantic roles & 50–950 ramp
primary
#2E3791
secondary
#B7AF64
accent
#CE4DDB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80