#2E3682#2E3682
#2E3682 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.3% C 0.127 H 274.0°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3682 |
|---|---|
| RGB | rgb(46, 54, 130) |
| HSL | hsl(234, 48%, 35%) |
| HSV | hsv(234, 65%, 51%) |
| CMYK | cmyk(64.6%, 58.5%, 0%, 49%) |
| CIE-LAB | lab(26.25, 22.10, -44.00) |
| CIE-LCH | lch(26.25, 49.24, 296.67°) |
| OKLab | oklab(37.29% 0.0088 -0.1264) |
| OKLCH | oklch(37.29% 0.127 274) |
| XYZ | xyz(6.4738, 4.8303, 21.7060) |
| Luminance | 0.0483 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.78
Blueberry
#464196
ΔE00 5.16
Sapphire (survey)
#2138AB
ΔE00 6.26
Cobalt (survey)
#1E488F
ΔE00 7.54
Marine
#042E60
ΔE00 7.62
Darkish Blue
#014182
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3682 #827A2E
analogous
#2E6082 #2E3682 #502E82
triadic
#2E3682 #822E36 #36822E
tetradic
#2E3682 #822E60 #827A2E #2E8250
square
#2E3682 #822E60 #827A2E #2E8250
split-complementary
#2E3682 #82502E #60822E
monochromatic
#0E1028 #1E2355 #2E3682 #3E49AF #636CC8
Accessibility & contrast
On white
10.68
#2E3682 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#2E3682 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3682
10.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3682 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3682 | 1.00 | 10.68 | 1.97 | 10.68 |
| #FFFFFF | 10.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004285
Deuteranopia (green-blind)
#003B80
Tritanopia (blue-blind)
#004856
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2e3682; /* rgb */ color: rgb(46, 54, 130); /* oklch */ color: oklch(37.3% 0.127 274.0);
Tailwind
colors: {
custom: {
50: '#706da7',
500: '#2e3682',
950: '#000000',
},
}SCSS
$custom: #2e3682; $custom-light: #706da7; $custom-dark: #000000;
JSON
{
"hex": "#2e3682",
"rgb": {
"r": 46,
"g": 54,
"b": 130
},
"hsl": {
"h": 234.286,
"s": 47.727,
"l": 34.51
},
"oklch": {
"l": 0.37286,
"c": 0.12674,
"h": 274
},
"luminance": 0.04831
}Semantic roles & 50–950 ramp
primary
#2E3682
secondary
#AEA75D
accent
#CA50D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F