#2E3896#2E3896
#2E3896 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.4% C 0.153 H 272.6°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3896 |
|---|---|
| RGB | rgb(46, 56, 150) |
| HSL | hsl(234, 53%, 38%) |
| HSV | hsv(234, 69%, 59%) |
| CMYK | cmyk(69.3%, 62.7%, 0%, 41.2%) |
| CIE-LAB | lab(28.41, 28.11, -52.86) |
| CIE-LCH | lch(28.41, 59.87, 298.01°) |
| OKLab | oklab(39.4% 0.0069 -0.1525) |
| OKLCH | oklch(39.4% 0.153 272.6) |
| XYZ | xyz(8.0441, 5.6104, 29.5073) |
| Luminance | 0.0561 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.14
Blueberry
#464196
ΔE00 4.15
Darkslateblue
#483D8B
ΔE00 5.01
Ocean Blue
#4F42B5
ΔE00 6.83
Cobalt
#0047AB
ΔE00 6.83
Blue Blue
#2242C7
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3896 #968C2E
analogous
#2E6C96 #2E3896 #582E96
triadic
#2E3896 #962E38 #38962E
tetradic
#2E3896 #962E6C #968C2E #2E9658
square
#2E3896 #962E6C #968C2E #2E9658
split-complementary
#2E3896 #96582E #6C962E
monochromatic
#111538 #202767 #2E3896 #3E4AC4 #6C76D2
Accessibility & contrast
On white
9.90
#2E3896 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#2E3896 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3896
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3896 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3896 | 1.00 | 9.90 | 2.12 | 9.90 |
| #FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004899
Deuteranopia (green-blind)
#003E94
Tritanopia (blue-blind)
#005061
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2e3896; /* rgb */ color: rgb(46, 56, 150); /* oklch */ color: oklch(39.4% 0.153 272.6);
Tailwind
colors: {
custom: {
50: '#756eb6',
500: '#2e3896',
950: '#000000',
},
}SCSS
$custom: #2e3896; $custom-light: #756eb6; $custom-dark: #000000;
JSON
{
"hex": "#2e3896",
"rgb": {
"r": 46,
"g": 56,
"b": 150
},
"hsl": {
"h": 234.231,
"s": 53.061,
"l": 38.431
},
"oklch": {
"l": 0.39401,
"c": 0.15261,
"h": 272.6
},
"luminance": 0.05611
}Semantic roles & 50–950 ramp
primary
#2E3896
secondary
#B9B167
accent
#CF4BDC
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80