#2E3399#2E3399
#2E3399 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.8% C 0.163 H 273.7°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3399 |
|---|---|
| RGB | rgb(46, 51, 153) |
| HSL | hsl(237, 54%, 39%) |
| HSV | hsv(237, 70%, 60%) |
| CMYK | cmyk(69.9%, 66.7%, 0%, 40%) |
| CIE-LAB | lab(27.43, 32.46, -56.30) |
| CIE-LCH | lch(27.43, 64.98, 299.97°) |
| OKLab | oklab(38.77% 0.0106 -0.1626) |
| OKLCH | oklch(38.77% 0.163 273.7) |
| XYZ | xyz(8.0584, 5.2476, 30.7190) |
| Luminance | 0.0525 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.08
Blueberry
#464196
ΔE00 5.01
Darkslateblue
#483D8B
ΔE00 5.57
Ocean Blue
#4F42B5
ΔE00 6.87
Royal
#0C1793
ΔE00 7.01
Indigo Blue
#3A18B1
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3399 #99942E
analogous
#2E6999 #2E3399 #5F2E99
triadic
#2E3399 #992E33 #33992E
tetradic
#2E3399 #992E69 #99942E #2E995F
square
#2E3399 #992E69 #99942E #2E995F
split-complementary
#2E3399 #995F2E #69992E
monochromatic
#12143B #20236A #2E3399 #3F45C5 #6E73D3
Accessibility & contrast
On white
10.25
#2E3399 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#2E3399 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3399
10.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3399 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3399 | 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)
#00469C
Deuteranopia (green-blind)
#003C97
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2e3399; /* rgb */ color: rgb(46, 51, 153); /* oklch */ color: oklch(38.8% 0.163 273.7);
Tailwind
colors: {
custom: {
50: '#766bb8',
500: '#2e3399',
950: '#000000',
},
}SCSS
$custom: #2e3399; $custom-light: #766bb8; $custom-dark: #000000;
JSON
{
"hex": "#2e3399",
"rgb": {
"r": 46,
"g": 51,
"b": 153
},
"hsl": {
"h": 237.196,
"s": 53.769,
"l": 39.02
},
"oklch": {
"l": 0.38766,
"c": 0.16291,
"h": 273.7
},
"luminance": 0.05248
}Semantic roles & 50–950 ramp
primary
#2E3399
secondary
#BBB768
accent
#D64BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80