#2E3496#2E3496
#2E3496 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.7% C 0.158 H 273.6°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3496 |
|---|---|
| RGB | rgb(46, 52, 150) |
| HSL | hsl(237, 53%, 38%) |
| HSV | hsv(237, 69%, 59%) |
| CMYK | cmyk(69.3%, 65.3%, 0%, 41.2%) |
| CIE-LAB | lab(27.40, 30.74, -54.50) |
| CIE-LCH | lch(27.40, 62.57, 299.42°) |
| OKLab | oklab(38.66% 0.01 -0.1573) |
| OKLCH | oklch(38.66% 0.158 273.6) |
| XYZ | xyz(7.8579, 5.2381, 29.4452) |
| Luminance | 0.0524 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.31
Blueberry
#464196
ΔE00 4.75
Darkslateblue
#483D8B
ΔE00 5.26
Ocean Blue
#4F42B5
ΔE00 7.06
Royal
#0C1793
ΔE00 7.33
Blue Blue
#2242C7
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3496 #96902E
analogous
#2E6896 #2E3496 #5C2E96
triadic
#2E3496 #962E34 #34962E
tetradic
#2E3496 #962E68 #96902E #2E965C
square
#2E3496 #962E68 #96902E #2E965C
split-complementary
#2E3496 #965C2E #68962E
monochromatic
#111438 #202467 #2E3496 #3E45C4 #6C72D2
Accessibility & contrast
On white
10.25
#2E3496 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#2E3496 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3496
10.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3496 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3496 | 1.00 | 10.25 | 2.05 | 10.25 |
| #FFFFFF | 10.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#003C94
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2e3496; /* rgb */ color: rgb(46, 52, 150); /* oklch */ color: oklch(38.7% 0.158 273.6);
Tailwind
colors: {
custom: {
50: '#756bb6',
500: '#2e3496',
950: '#000000',
},
}SCSS
$custom: #2e3496; $custom-light: #756bb6; $custom-dark: #000000;
JSON
{
"hex": "#2e3496",
"rgb": {
"r": 46,
"g": 52,
"b": 150
},
"hsl": {
"h": 236.538,
"s": 53.061,
"l": 38.431
},
"oklch": {
"l": 0.38663,
"c": 0.15762,
"h": 273.6
},
"luminance": 0.05239
}Semantic roles & 50–950 ramp
primary
#2E3496
secondary
#B9B467
accent
#D44BDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80