#2E3299#2E3299
#2E3299 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.6% C 0.164 H 273.9°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3299 |
|---|---|
| RGB | rgb(46, 50, 153) |
| HSL | hsl(238, 54%, 39%) |
| HSV | hsv(238, 70%, 60%) |
| CMYK | cmyk(69.9%, 67.3%, 0%, 40%) |
| CIE-LAB | lab(27.19, 33.10, -56.69) |
| CIE-LCH | lch(27.19, 65.65, 300.28°) |
| OKLab | oklab(38.59% 0.0113 -0.1637) |
| OKLCH | oklch(38.59% 0.164 273.9) |
| XYZ | xyz(8.0152, 5.1612, 30.7046) |
| Luminance | 0.0516 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.23
Blueberry
#464196
ΔE00 5.20
Darkslateblue
#483D8B
ΔE00 5.69
Royal
#0C1793
ΔE00 6.74
Indigo Blue
#3A18B1
ΔE00 6.92
Ocean Blue
#4F42B5
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3299 #99952E
analogous
#2E6899 #2E3299 #602E99
triadic
#2E3299 #992E32 #32992E
tetradic
#2E3299 #992E68 #99952E #2E9960
square
#2E3299 #992E68 #99952E #2E9960
split-complementary
#2E3299 #99602E #68992E
monochromatic
#12133B #20236A #2E3299 #3F44C5 #6E72D3
Accessibility & contrast
On white
10.33
#2E3299 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#2E3299 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3299
10.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3299 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3299 | 1.00 | 10.33 | 2.03 | 10.33 |
| #FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#003B97
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2e3299; /* rgb */ color: rgb(46, 50, 153); /* oklch */ color: oklch(38.6% 0.164 273.9);
Tailwind
colors: {
custom: {
50: '#766ab8',
500: '#2e3299',
950: '#000000',
},
}SCSS
$custom: #2e3299; $custom-light: #766ab8; $custom-dark: #000000;
JSON
{
"hex": "#2e3299",
"rgb": {
"r": 46,
"g": 50,
"b": 153
},
"hsl": {
"h": 237.757,
"s": 53.769,
"l": 39.02
},
"oklch": {
"l": 0.38591,
"c": 0.16411,
"h": 273.9
},
"luminance": 0.05162
}Semantic roles & 50–950 ramp
primary
#2E3299
secondary
#BBB868
accent
#D84BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80