#2E3196#2E3196
#2E3196 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.1% C 0.161 H 274.4°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3196 |
|---|---|
| RGB | rgb(46, 49, 150) |
| HSL | hsl(238, 53%, 38%) |
| HSV | hsv(238, 69%, 59%) |
| CMYK | cmyk(69.3%, 67.3%, 0%, 41.2%) |
| CIE-LAB | lab(26.67, 32.67, -55.70) |
| CIE-LCH | lch(26.67, 64.57, 300.40°) |
| OKLab | oklab(38.13% 0.0123 -0.1608) |
| OKLCH | oklch(38.13% 0.161 274.4) |
| XYZ | xyz(7.7282, 4.9788, 29.4020) |
| Luminance | 0.0498 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.70
Blueberry
#464196
ΔE00 5.34
Darkslateblue
#483D8B
ΔE00 5.62
Royal
#0C1793
ΔE00 6.50
Indigo Blue
#3A18B1
ΔE00 6.98
Ocean Blue
#4F42B5
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3196 #96932E
analogous
#2E6596 #2E3196 #5F2E96
triadic
#2E3196 #962E31 #31962E
tetradic
#2E3196 #962E65 #96932E #2E965F
square
#2E3196 #962E65 #96932E #2E965F
split-complementary
#2E3196 #965F2E #65962E
monochromatic
#111238 #202267 #2E3196 #3E41C4 #6C6FD2
Accessibility & contrast
On white
10.52
#2E3196 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#2E3196 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3196
10.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3196 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3196 | 1.00 | 10.52 | 2.00 | 10.52 |
| #FFFFFF | 10.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#003A94
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2e3196; /* rgb */ color: rgb(46, 49, 150); /* oklch */ color: oklch(38.1% 0.161 274.4);
Tailwind
colors: {
custom: {
50: '#7569b6',
500: '#2e3196',
950: '#000000',
},
}SCSS
$custom: #2e3196; $custom-light: #7569b6; $custom-dark: #000000;
JSON
{
"hex": "#2e3196",
"rgb": {
"r": 46,
"g": 49,
"b": 150
},
"hsl": {
"h": 238.269,
"s": 53.061,
"l": 38.431
},
"oklch": {
"l": 0.38132,
"c": 0.16128,
"h": 274.4
},
"luminance": 0.04979
}Semantic roles & 50–950 ramp
primary
#2E3196
secondary
#B9B767
accent
#D84BDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80