#2E3796#2E3796
#2E3796 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.2% C 0.154 H 272.9°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3796 |
|---|---|
| RGB | rgb(46, 55, 150) |
| HSL | hsl(235, 53%, 38%) |
| HSV | hsv(235, 69%, 59%) |
| CMYK | cmyk(69.3%, 63.3%, 0%, 41.2%) |
| CIE-LAB | lab(28.15, 28.77, -53.28) |
| CIE-LCH | lch(28.15, 60.55, 298.37°) |
| OKLab | oklab(39.21% 0.0077 -0.1537) |
| OKLCH | oklch(39.21% 0.154 272.9) |
| XYZ | xyz(7.9961, 5.5145, 29.4913) |
| Luminance | 0.0551 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.14
Blueberry
#464196
ΔE00 4.27
Darkslateblue
#483D8B
ΔE00 5.05
Ocean Blue
#4F42B5
ΔE00 6.87
Cobalt
#0047AB
ΔE00 7.10
Blue Blue
#2242C7
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3796 #968D2E
analogous
#2E6B96 #2E3796 #592E96
triadic
#2E3796 #962E37 #37962E
tetradic
#2E3796 #962E6B #968D2E #2E9659
square
#2E3796 #962E6B #968D2E #2E9659
split-complementary
#2E3796 #96592E #6B962E
monochromatic
#111538 #202667 #2E3796 #3E49C4 #6C75D2
Accessibility & contrast
On white
9.99
#2E3796 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#2E3796 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3796
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3796 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3796 | 1.00 | 9.99 | 2.10 | 9.99 |
| #FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#003E94
Tritanopia (blue-blind)
#004F61
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2e3796; /* rgb */ color: rgb(46, 55, 150); /* oklch */ color: oklch(39.2% 0.154 272.9);
Tailwind
colors: {
custom: {
50: '#756eb6',
500: '#2e3796',
950: '#000000',
},
}SCSS
$custom: #2e3796; $custom-light: #756eb6; $custom-dark: #000000;
JSON
{
"hex": "#2e3796",
"rgb": {
"r": 46,
"g": 55,
"b": 150
},
"hsl": {
"h": 234.808,
"s": 53.061,
"l": 38.431
},
"oklch": {
"l": 0.39214,
"c": 0.15388,
"h": 272.9
},
"luminance": 0.05515
}Semantic roles & 50–950 ramp
primary
#2E3796
secondary
#B9B267
accent
#D04BDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80