#2E3497#2E3497
#2E3497 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.8% C 0.159 H 273.6°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3497 |
|---|---|
| RGB | rgb(46, 52, 151) |
| HSL | hsl(237, 53%, 39%) |
| HSV | hsv(237, 70%, 59%) |
| CMYK | cmyk(69.5%, 65.6%, 0%, 40.8%) |
| CIE-LAB | lab(27.49, 31.10, -54.97) |
| CIE-LCH | lch(27.49, 63.16, 299.50°) |
| OKLab | oklab(38.76% 0.01 -0.1587) |
| OKLCH | oklch(38.76% 0.159 273.6) |
| XYZ | xyz(7.9388, 5.2705, 29.8711) |
| Luminance | 0.0527 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.19
Blueberry
#464196
ΔE00 4.77
Darkslateblue
#483D8B
ΔE00 5.33
Ocean Blue
#4F42B5
ΔE00 6.96
Royal
#0C1793
ΔE00 7.31
Blue Blue
#2242C7
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3497 #97912E
analogous
#2E6897 #2E3497 #5C2E97
triadic
#2E3497 #972E34 #34972E
tetradic
#2E3497 #972E68 #97912E #2E975C
square
#2E3497 #972E68 #97912E #2E975C
split-complementary
#2E3497 #975C2E #68972E
monochromatic
#111439 #202468 #2E3497 #3E46C4 #6D73D2
Accessibility & contrast
On white
10.22
#2E3497 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#2E3497 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3497
10.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3497 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3497 | 1.00 | 10.22 | 2.05 | 10.22 |
| #FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#003C95
Tritanopia (blue-blind)
#004E60
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2e3497; /* rgb */ color: rgb(46, 52, 151); /* oklch */ color: oklch(38.8% 0.159 273.6);
Tailwind
colors: {
custom: {
50: '#756bb6',
500: '#2e3497',
950: '#000000',
},
}SCSS
$custom: #2e3497; $custom-light: #756bb6; $custom-dark: #000000;
JSON
{
"hex": "#2e3497",
"rgb": {
"r": 46,
"g": 52,
"b": 151
},
"hsl": {
"h": 236.571,
"s": 53.299,
"l": 38.627
},
"oklch": {
"l": 0.38756,
"c": 0.15898,
"h": 273.6
},
"luminance": 0.05271
}Semantic roles & 50–950 ramp
primary
#2E3497
secondary
#BAB567
accent
#D44BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80