#2E3090#2E3090
#2E3090 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.154 H 275.1°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3090 |
|---|---|
| RGB | rgb(46, 48, 144) |
| HSL | hsl(239, 52%, 37%) |
| HSV | hsv(239, 68%, 56%) |
| CMYK | cmyk(68.1%, 66.7%, 0%, 43.5%) |
| CIE-LAB | lab(25.89, 31.18, -53.29) |
| CIE-LCH | lch(25.89, 61.74, 300.33°) |
| OKLab | oklab(37.39% 0.0137 -0.1538) |
| OKLCH | oklch(37.39% 0.154 275.1) |
| XYZ | xyz(7.2160, 4.7077, 26.9086) |
| Luminance | 0.0471 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.53
Darkslateblue
#483D8B
ΔE00 5.45
Blueberry
#464196
ΔE00 5.51
Royal
#0C1793
ΔE00 6.39
Midnight Blue
#191970
ΔE00 7.30
Indigo Blue
#3A18B1
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3090 #908E2E
analogous
#2E6190 #2E3090 #5D2E90
triadic
#2E3090 #902E30 #30902E
tetradic
#2E3090 #902E61 #908E2E #2E905D
square
#2E3090 #902E61 #908E2E #2E905D
split-complementary
#2E3090 #905D2E #61902E
monochromatic
#101133 #1F2162 #2E3090 #3D3FBE #696BCF
Accessibility & contrast
On white
10.82
#2E3090 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#2E3090 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3090
10.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3090 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3090 | 1.00 | 10.82 | 1.94 | 10.82 |
| #FFFFFF | 10.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004293
Deuteranopia (green-blind)
#00398E
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2e3090; /* rgb */ color: rgb(46, 48, 144); /* oklch */ color: oklch(37.4% 0.154 275.1);
Tailwind
colors: {
custom: {
50: '#7468b1',
500: '#2e3090',
950: '#000000',
},
}SCSS
$custom: #2e3090; $custom-light: #7468b1; $custom-dark: #000000;
JSON
{
"hex": "#2e3090",
"rgb": {
"r": 46,
"g": 48,
"b": 144
},
"hsl": {
"h": 238.776,
"s": 51.579,
"l": 37.255
},
"oklch": {
"l": 0.37389,
"c": 0.15438,
"h": 275.1
},
"luminance": 0.04708
}Semantic roles & 50–950 ramp
primary
#2E3090
secondary
#B6B464
accent
#D84DDB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80