#2E3392#2E3392
#2E3392 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.1% C 0.153 H 274.1°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3392 |
|---|---|
| RGB | rgb(46, 51, 146) |
| HSL | hsl(237, 52%, 38%) |
| HSV | hsv(237, 68%, 57%) |
| CMYK | cmyk(68.5%, 65.1%, 0%, 42.7%) |
| CIE-LAB | lab(26.80, 29.95, -53.03) |
| CIE-LCH | lch(26.80, 60.90, 299.45°) |
| OKLab | oklab(38.11% 0.0111 -0.153) |
| OKLCH | oklch(38.11% 0.153 274.1) |
| XYZ | xyz(7.4971, 5.0231, 27.7630) |
| Luminance | 0.0502 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.92
Blueberry
#464196
ΔE00 4.90
Darkslateblue
#483D8B
ΔE00 5.14
Royal
#0C1793
ΔE00 7.16
Ocean Blue
#4F42B5
ΔE00 7.55
Indigo Blue
#3A18B1
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3392 #928D2E
analogous
#2E6592 #2E3392 #5B2E92
triadic
#2E3392 #922E33 #33922E
tetradic
#2E3392 #922E65 #928D2E #2E925B
square
#2E3392 #922E65 #928D2E #2E925B
split-complementary
#2E3392 #925B2E #65922E
monochromatic
#111235 #1F2363 #2E3392 #3D43C1 #6A6FD0
Accessibility & contrast
On white
10.47
#2E3392 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#2E3392 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3392
10.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3392 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3392 | 1.00 | 10.47 | 2.00 | 10.47 |
| #FFFFFF | 10.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004495
Deuteranopia (green-blind)
#003B90
Tritanopia (blue-blind)
#004B5D
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2e3392; /* rgb */ color: rgb(46, 51, 146); /* oklch */ color: oklch(38.1% 0.153 274.1);
Tailwind
colors: {
custom: {
50: '#746bb3',
500: '#2e3392',
950: '#000000',
},
}SCSS
$custom: #2e3392; $custom-light: #746bb3; $custom-dark: #000000;
JSON
{
"hex": "#2e3392",
"rgb": {
"r": 46,
"g": 51,
"b": 146
},
"hsl": {
"h": 237,
"s": 52.083,
"l": 37.647
},
"oklch": {
"l": 0.38113,
"c": 0.15339,
"h": 274.1
},
"luminance": 0.05024
}Semantic roles & 50–950 ramp
primary
#2E3392
secondary
#B7B365
accent
#D44CDC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80