#2E3697#2E3697
#2E3697 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.1% C 0.157 H 273.1°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3697 |
|---|---|
| RGB | rgb(46, 54, 151) |
| HSL | hsl(235, 53%, 39%) |
| HSV | hsv(235, 70%, 59%) |
| CMYK | cmyk(69.5%, 64.2%, 0%, 40.8%) |
| CIE-LAB | lab(27.99, 29.79, -54.16) |
| CIE-LCH | lch(27.99, 61.81, 298.82°) |
| OKLab | oklab(39.12% 0.0084 -0.1563) |
| OKLCH | oklch(39.12% 0.157 273.1) |
| XYZ | xyz(8.0299, 5.4528, 29.9015) |
| Luminance | 0.0545 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.03
Blueberry
#464196
ΔE00 4.43
Darkslateblue
#483D8B
ΔE00 5.16
Ocean Blue
#4F42B5
ΔE00 6.81
Blue Blue
#2242C7
ΔE00 7.22
Cobalt
#0047AB
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3697 #978F2E
analogous
#2E6A97 #2E3697 #5A2E97
triadic
#2E3697 #972E36 #36972E
tetradic
#2E3697 #972E6A #978F2E #2E975A
square
#2E3697 #972E6A #978F2E #2E975A
split-complementary
#2E3697 #975A2E #6A972E
monochromatic
#111439 #202568 #2E3697 #3E48C4 #6D75D2
Accessibility & contrast
On white
10.04
#2E3697 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#2E3697 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3697
10.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3697 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3697 | 1.00 | 10.04 | 2.09 | 10.04 |
| #FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#003D95
Tritanopia (blue-blind)
#004F61
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2e3697; /* rgb */ color: rgb(46, 54, 151); /* oklch */ color: oklch(39.1% 0.157 273.1);
Tailwind
colors: {
custom: {
50: '#756db6',
500: '#2e3697',
950: '#000000',
},
}SCSS
$custom: #2e3697; $custom-light: #756db6; $custom-dark: #000000;
JSON
{
"hex": "#2e3697",
"rgb": {
"r": 46,
"g": 54,
"b": 151
},
"hsl": {
"h": 235.429,
"s": 53.299,
"l": 38.627
},
"oklch": {
"l": 0.39119,
"c": 0.15651,
"h": 273.1
},
"luminance": 0.05454
}Semantic roles & 50–950 ramp
primary
#2E3697
secondary
#BAB367
accent
#D24BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80