#2E3495#2E3495
#2E3495 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.6% C 0.156 H 273.7°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3495 |
|---|---|
| RGB | rgb(46, 52, 149) |
| HSL | hsl(237, 53%, 38%) |
| HSV | hsv(237, 69%, 58%) |
| CMYK | cmyk(69.1%, 65.1%, 0%, 41.6%) |
| CIE-LAB | lab(27.31, 30.38, -54.03) |
| CIE-LCH | lch(27.31, 61.99, 299.34°) |
| OKLab | oklab(38.57% 0.0101 -0.1559) |
| OKLCH | oklch(38.57% 0.156 273.7) |
| XYZ | xyz(7.7777, 5.2060, 29.0229) |
| Luminance | 0.0521 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.44
Blueberry
#464196
ΔE00 4.74
Darkslateblue
#483D8B
ΔE00 5.20
Ocean Blue
#4F42B5
ΔE00 7.16
Royal
#0C1793
ΔE00 7.36
Blue Blue
#2242C7
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3495 #958F2E
analogous
#2E6795 #2E3495 #5B2E95
triadic
#2E3495 #952E34 #34952E
tetradic
#2E3495 #952E67 #958F2E #2E955B
square
#2E3495 #952E67 #958F2E #2E955B
split-complementary
#2E3495 #955B2E #67952E
monochromatic
#111337 #202466 #2E3495 #3D45C3 #6C72D2
Accessibility & contrast
On white
10.29
#2E3495 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#2E3495 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3495
10.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3495 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3495 | 1.00 | 10.29 | 2.04 | 10.29 |
| #FFFFFF | 10.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004598
Deuteranopia (green-blind)
#003C93
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2e3495; /* rgb */ color: rgb(46, 52, 149); /* oklch */ color: oklch(38.6% 0.156 273.7);
Tailwind
colors: {
custom: {
50: '#756bb5',
500: '#2e3495',
950: '#000000',
},
}SCSS
$custom: #2e3495; $custom-light: #756bb5; $custom-dark: #000000;
JSON
{
"hex": "#2e3495",
"rgb": {
"r": 46,
"g": 52,
"b": 149
},
"hsl": {
"h": 236.505,
"s": 52.821,
"l": 38.235
},
"oklch": {
"l": 0.38571,
"c": 0.15626,
"h": 273.7
},
"luminance": 0.05207
}Semantic roles & 50–950 ramp
primary
#2E3495
secondary
#B9B466
accent
#D44CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80