#2E3597#2E3597
#2E3597 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.9% C 0.158 H 273.3°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3597 |
|---|---|
| RGB | rgb(46, 53, 151) |
| HSL | hsl(236, 53%, 39%) |
| HSV | hsv(236, 70%, 59%) |
| CMYK | cmyk(69.5%, 64.9%, 0%, 40.8%) |
| CIE-LAB | lab(27.74, 30.45, -54.57) |
| CIE-LCH | lch(27.74, 62.49, 299.16°) |
| OKLab | oklab(38.94% 0.0092 -0.1575) |
| OKLCH | oklch(38.94% 0.158 273.3) |
| XYZ | xyz(7.9839, 5.3607, 29.8861) |
| Luminance | 0.0536 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.10
Blueberry
#464196
ΔE00 4.59
Darkslateblue
#483D8B
ΔE00 5.23
Ocean Blue
#4F42B5
ΔE00 6.88
Blue Blue
#2242C7
ΔE00 7.34
Cobalt
#0047AB
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3597 #97902E
analogous
#2E6997 #2E3597 #5B2E97
triadic
#2E3597 #972E35 #35972E
tetradic
#2E3597 #972E69 #97902E #2E975B
square
#2E3597 #972E69 #97902E #2E975B
split-complementary
#2E3597 #975B2E #69972E
monochromatic
#111439 #202568 #2E3597 #3E47C4 #6D74D2
Accessibility & contrast
On white
10.13
#2E3597 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#2E3597 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3597
10.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3597 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3597 | 1.00 | 10.13 | 2.07 | 10.13 |
| #FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#003D95
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2e3597; /* rgb */ color: rgb(46, 53, 151); /* oklch */ color: oklch(38.9% 0.158 273.3);
Tailwind
colors: {
custom: {
50: '#756cb6',
500: '#2e3597',
950: '#000000',
},
}SCSS
$custom: #2e3597; $custom-light: #756cb6; $custom-dark: #000000;
JSON
{
"hex": "#2e3597",
"rgb": {
"r": 46,
"g": 53,
"b": 151
},
"hsl": {
"h": 236,
"s": 53.299,
"l": 38.627
},
"oklch": {
"l": 0.38937,
"c": 0.15775,
"h": 273.3
},
"luminance": 0.05361
}Semantic roles & 50–950 ramp
primary
#2E3597
secondary
#BAB467
accent
#D34BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80