#2E3493#2E3493
#2E3493 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.154 H 273.8°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3493 |
|---|---|
| RGB | rgb(46, 52, 147) |
| HSL | hsl(236, 52%, 38%) |
| HSV | hsv(236, 69%, 58%) |
| CMYK | cmyk(68.7%, 64.6%, 0%, 42.4%) |
| CIE-LAB | lab(27.14, 29.65, -53.09) |
| CIE-LCH | lch(27.14, 60.81, 299.18°) |
| OKLab | oklab(38.39% 0.0102 -0.1532) |
| OKLCH | oklch(38.39% 0.154 273.8) |
| XYZ | xyz(7.6194, 5.1427, 28.1892) |
| Luminance | 0.0514 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.70
Blueberry
#464196
ΔE00 4.72
Darkslateblue
#483D8B
ΔE00 5.09
Ocean Blue
#4F42B5
ΔE00 7.37
Royal
#0C1793
ΔE00 7.41
Blue Blue
#2242C7
ΔE00 7.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3493 #938D2E
analogous
#2E6693 #2E3493 #5B2E93
triadic
#2E3493 #932E34 #34932E
tetradic
#2E3493 #932E66 #938D2E #2E935B
square
#2E3493 #932E66 #938D2E #2E935B
split-complementary
#2E3493 #935B2E #66932E
monochromatic
#111336 #1F2464 #2E3493 #3D44C2 #6B71D1
Accessibility & contrast
On white
10.35
#2E3493 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#2E3493 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3493
10.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3493 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3493 | 1.00 | 10.35 | 2.03 | 10.35 |
| #FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004596
Deuteranopia (green-blind)
#003C91
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2e3493; /* rgb */ color: rgb(46, 52, 147); /* oklch */ color: oklch(38.4% 0.154 273.8);
Tailwind
colors: {
custom: {
50: '#746bb4',
500: '#2e3493',
950: '#000000',
},
}SCSS
$custom: #2e3493; $custom-light: #746bb4; $custom-dark: #000000;
JSON
{
"hex": "#2e3493",
"rgb": {
"r": 46,
"g": 52,
"b": 147
},
"hsl": {
"h": 236.436,
"s": 52.332,
"l": 37.843
},
"oklch": {
"l": 0.38387,
"c": 0.15351,
"h": 273.8
},
"luminance": 0.05143
}Semantic roles & 50–950 ramp
primary
#2E3493
secondary
#B8B365
accent
#D34CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80