#2E3086#2E3086
#2E3086 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.141 H 275.9°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3086 |
|---|---|
| RGB | rgb(46, 48, 134) |
| HSL | hsl(239, 49%, 35%) |
| HSV | hsv(239, 66%, 53%) |
| CMYK | cmyk(65.7%, 64.2%, 0%, 47.5%) |
| CIE-LAB | lab(25.00, 27.59, -48.53) |
| CIE-LCH | lch(25.00, 55.82, 299.62°) |
| OKLab | oklab(36.47% 0.0144 -0.1398) |
| OKLCH | oklch(36.47% 0.141 275.9) |
| XYZ | xyz(6.4853, 4.4154, 23.0601) |
| Luminance | 0.0442 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.18
Blueberry
#464196
ΔE00 5.73
Sapphire (survey)
#2138AB
ΔE00 5.85
Midnight Blue
#191970
ΔE00 6.66
Royal
#0C1793
ΔE00 7.01
Indigo Blue
#3A18B1
ΔE00 8.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3086 #86842E
analogous
#2E5C86 #2E3086 #582E86
triadic
#2E3086 #862E30 #30862E
tetradic
#2E3086 #862E5C #86842E #2E8658
square
#2E3086 #862E5C #86842E #2E8658
split-complementary
#2E3086 #86582E #5C862E
monochromatic
#0F0F2B #1E2058 #2E3086 #3E40B4 #6467CA
Accessibility & contrast
On white
11.15
#2E3086 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#2E3086 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3086
11.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3086 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3086 | 1.00 | 11.15 | 1.88 | 11.15 |
| #FFFFFF | 11.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F89
Deuteranopia (green-blind)
#003784
Tritanopia (blue-blind)
#004656
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2e3086; /* rgb */ color: rgb(46, 48, 134); /* oklch */ color: oklch(36.5% 0.141 275.9);
Tailwind
colors: {
custom: {
50: '#7268aa',
500: '#2e3086',
950: '#000000',
},
}SCSS
$custom: #2e3086; $custom-light: #7268aa; $custom-dark: #000000;
JSON
{
"hex": "#2e3086",
"rgb": {
"r": 46,
"g": 48,
"b": 134
},
"hsl": {
"h": 238.636,
"s": 48.889,
"l": 35.294
},
"oklch": {
"l": 0.36467,
"c": 0.14053,
"h": 275.9
},
"luminance": 0.04416
}Semantic roles & 50–950 ramp
primary
#2E3086
secondary
#B1AF5F
accent
#D54FD8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F