#2E3296#2E3296
#2E3296 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.160 H 274.1°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3296 |
|---|---|
| RGB | rgb(46, 50, 150) |
| HSL | hsl(238, 53%, 38%) |
| HSV | hsv(238, 69%, 59%) |
| CMYK | cmyk(69.3%, 66.7%, 0%, 41.2%) |
| CIE-LAB | lab(26.91, 32.03, -55.30) |
| CIE-LCH | lch(26.91, 63.91, 300.08°) |
| OKLab | oklab(38.31% 0.0116 -0.1597) |
| OKLCH | oklch(38.31% 0.16 274.1) |
| XYZ | xyz(7.7705, 5.0633, 29.4161) |
| Luminance | 0.0506 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.55
Blueberry
#464196
ΔE00 5.13
Darkslateblue
#483D8B
ΔE00 5.49
Royal
#0C1793
ΔE00 6.77
Indigo Blue
#3A18B1
ΔE00 7.22
Ocean Blue
#4F42B5
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3296 #96922E
analogous
#2E6696 #2E3296 #5E2E96
triadic
#2E3296 #962E32 #32962E
tetradic
#2E3296 #962E66 #96922E #2E965E
square
#2E3296 #962E66 #96922E #2E965E
split-complementary
#2E3296 #965E2E #66962E
monochromatic
#111338 #202267 #2E3296 #3E43C4 #6C70D2
Accessibility & contrast
On white
10.43
#2E3296 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#2E3296 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3296
10.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3296 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3296 | 1.00 | 10.43 | 2.01 | 10.43 |
| #FFFFFF | 10.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#003B94
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2e3296; /* rgb */ color: rgb(46, 50, 150); /* oklch */ color: oklch(38.3% 0.160 274.1);
Tailwind
colors: {
custom: {
50: '#756ab6',
500: '#2e3296',
950: '#000000',
},
}SCSS
$custom: #2e3296; $custom-light: #756ab6; $custom-dark: #000000;
JSON
{
"hex": "#2e3296",
"rgb": {
"r": 46,
"g": 50,
"b": 150
},
"hsl": {
"h": 237.692,
"s": 53.061,
"l": 38.431
},
"oklch": {
"l": 0.38307,
"c": 0.16008,
"h": 274.1
},
"luminance": 0.05064
}Semantic roles & 50–950 ramp
primary
#2E3296
secondary
#B9B667
accent
#D74BDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80