#2E3394#2E3394
#2E3394 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.156 H 274.0°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3394 |
|---|---|
| RGB | rgb(46, 51, 148) |
| HSL | hsl(237, 53%, 38%) |
| HSV | hsv(237, 69%, 58%) |
| CMYK | cmyk(68.9%, 65.5%, 0%, 42%) |
| CIE-LAB | lab(26.98, 30.67, -53.97) |
| CIE-LCH | lch(26.98, 62.07, 299.61°) |
| OKLab | oklab(38.3% 0.011 -0.1557) |
| OKLCH | oklch(38.3% 0.156 274) |
| XYZ | xyz(7.6541, 5.0859, 28.5895) |
| Luminance | 0.0509 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.67
Blueberry
#464196
ΔE00 4.91
Darkslateblue
#483D8B
ΔE00 5.25
Royal
#0C1793
ΔE00 7.09
Ocean Blue
#4F42B5
ΔE00 7.35
Indigo Blue
#3A18B1
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3394 #948F2E
analogous
#2E6694 #2E3394 #5C2E94
triadic
#2E3394 #942E33 #33942E
tetradic
#2E3394 #942E66 #948F2E #2E945C
square
#2E3394 #942E66 #948F2E #2E945C
split-complementary
#2E3394 #945C2E #66942E
monochromatic
#111337 #1F2365 #2E3394 #3D43C3 #6B70D1
Accessibility & contrast
On white
10.41
#2E3394 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#2E3394 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3394
10.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3394 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3394 | 1.00 | 10.41 | 2.02 | 10.41 |
| #FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#003B92
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2e3394; /* rgb */ color: rgb(46, 51, 148); /* oklch */ color: oklch(38.3% 0.156 274.0);
Tailwind
colors: {
custom: {
50: '#756bb4',
500: '#2e3394',
950: '#000000',
},
}SCSS
$custom: #2e3394; $custom-light: #756bb4; $custom-dark: #000000;
JSON
{
"hex": "#2e3394",
"rgb": {
"r": 46,
"g": 51,
"b": 148
},
"hsl": {
"h": 237.059,
"s": 52.577,
"l": 38.039
},
"oklch": {
"l": 0.38298,
"c": 0.15614,
"h": 274
},
"luminance": 0.05087
}Semantic roles & 50–950 ramp
primary
#2E3394
secondary
#B8B466
accent
#D54CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80