#2E3499#2E3499
#2E3499 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.9% C 0.162 H 273.5°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3499 |
|---|---|
| RGB | rgb(46, 52, 153) |
| HSL | hsl(237, 54%, 39%) |
| HSV | hsv(237, 70%, 60%) |
| CMYK | cmyk(69.9%, 66%, 0%, 40%) |
| CIE-LAB | lab(27.67, 31.82, -55.90) |
| CIE-LCH | lch(27.67, 64.32, 299.65°) |
| OKLab | oklab(38.94% 0.0098 -0.1614) |
| OKLCH | oklch(38.94% 0.162 273.5) |
| XYZ | xyz(8.1026, 5.3360, 30.7338) |
| Luminance | 0.0534 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.95
Blueberry
#464196
ΔE00 4.82
Darkslateblue
#483D8B
ΔE00 5.46
Ocean Blue
#4F42B5
ΔE00 6.78
Blue Blue
#2242C7
ΔE00 7.24
Royal
#0C1793
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3499 #99932E
analogous
#2E6A99 #2E3499 #5E2E99
triadic
#2E3499 #992E34 #34992E
tetradic
#2E3499 #992E6A #99932E #2E995E
square
#2E3499 #992E6A #99932E #2E995E
split-complementary
#2E3499 #995E2E #6A992E
monochromatic
#12143B #20246A #2E3499 #3F46C5 #6E74D3
Accessibility & contrast
On white
10.16
#2E3499 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#2E3499 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3499
10.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3499 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3499 | 1.00 | 10.16 | 2.07 | 10.16 |
| #FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.16 | 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: #2e3499; /* rgb */ color: rgb(46, 52, 153); /* oklch */ color: oklch(38.9% 0.162 273.5);
Tailwind
colors: {
custom: {
50: '#766bb8',
500: '#2e3499',
950: '#000000',
},
}SCSS
$custom: #2e3499; $custom-light: #766bb8; $custom-dark: #000000;
JSON
{
"hex": "#2e3499",
"rgb": {
"r": 46,
"g": 52,
"b": 153
},
"hsl": {
"h": 236.636,
"s": 53.769,
"l": 39.02
},
"oklch": {
"l": 0.38942,
"c": 0.1617,
"h": 273.5
},
"luminance": 0.05337
}Semantic roles & 50–950 ramp
primary
#2E3499
secondary
#BBB668
accent
#D54BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80