#2E3498#2E3498
#2E3498 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.8% C 0.160 H 273.5°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3498 |
|---|---|
| RGB | rgb(46, 52, 152) |
| HSL | hsl(237, 54%, 39%) |
| HSV | hsv(237, 70%, 60%) |
| CMYK | cmyk(69.7%, 65.8%, 0%, 40.4%) |
| CIE-LAB | lab(27.58, 31.46, -55.43) |
| CIE-LCH | lch(27.58, 63.74, 299.57°) |
| OKLab | oklab(38.85% 0.0099 -0.16) |
| OKLCH | oklch(38.85% 0.16 273.5) |
| XYZ | xyz(8.0203, 5.3031, 30.3006) |
| Luminance | 0.0530 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.07
Blueberry
#464196
ΔE00 4.79
Darkslateblue
#483D8B
ΔE00 5.39
Ocean Blue
#4F42B5
ΔE00 6.87
Royal
#0C1793
ΔE00 7.30
Blue Blue
#2242C7
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3498 #98922E
analogous
#2E6998 #2E3498 #5D2E98
triadic
#2E3498 #982E34 #34982E
tetradic
#2E3498 #982E69 #98922E #2E985D
square
#2E3498 #982E69 #98922E #2E985D
split-complementary
#2E3498 #985D2E #69982E
monochromatic
#12143A #202469 #2E3498 #3E46C5 #6D73D3
Accessibility & contrast
On white
10.19
#2E3498 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#2E3498 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3498
10.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3498 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3498 | 1.00 | 10.19 | 2.06 | 10.19 |
| #FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469B
Deuteranopia (green-blind)
#003C96
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2e3498; /* rgb */ color: rgb(46, 52, 152); /* oklch */ color: oklch(38.8% 0.160 273.5);
Tailwind
colors: {
custom: {
50: '#756bb7',
500: '#2e3498',
950: '#000000',
},
}SCSS
$custom: #2e3498; $custom-light: #756bb7; $custom-dark: #000000;
JSON
{
"hex": "#2e3498",
"rgb": {
"r": 46,
"g": 52,
"b": 152
},
"hsl": {
"h": 236.604,
"s": 53.535,
"l": 38.824
},
"oklch": {
"l": 0.38849,
"c": 0.16035,
"h": 273.5
},
"luminance": 0.05304
}Semantic roles & 50–950 ramp
primary
#2E3498
secondary
#BAB568
accent
#D54BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80