#2E3082#2E3082
#2E3082 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.135 H 276.2°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3082 |
|---|---|
| RGB | rgb(46, 48, 130) |
| HSL | hsl(239, 48%, 35%) |
| HSV | hsv(239, 65%, 51%) |
| CMYK | cmyk(64.6%, 63.1%, 0%, 49%) |
| CIE-LAB | lab(24.66, 26.15, -46.58) |
| CIE-LCH | lch(24.66, 53.41, 299.31°) |
| OKLab | oklab(36.11% 0.0146 -0.1341) |
| OKLCH | oklch(36.11% 0.135 276.2) |
| XYZ | xyz(6.2116, 4.3060, 21.6186) |
| Luminance | 0.0431 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.20
Blueberry
#464196
ΔE00 5.94
Sapphire (survey)
#2138AB
ΔE00 6.44
Midnight Blue
#191970
ΔE00 6.52
Royal
#0C1793
ΔE00 7.39
Marine
#042E60
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3082 #82802E
analogous
#2E5A82 #2E3082 #562E82
triadic
#2E3082 #822E30 #30822E
tetradic
#2E3082 #822E5A #82802E #2E8256
square
#2E3082 #822E5A #82802E #2E8256
split-complementary
#2E3082 #82562E #5A822E
monochromatic
#0E0F28 #1E1F55 #2E3082 #3E41AF #6365C8
Accessibility & contrast
On white
11.28
#2E3082 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#2E3082 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3082
11.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3082 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3082 | 1.00 | 11.28 | 1.86 | 11.28 |
| #FFFFFF | 11.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E85
Deuteranopia (green-blind)
#003780
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2e3082; /* rgb */ color: rgb(46, 48, 130); /* oklch */ color: oklch(36.1% 0.135 276.2);
Tailwind
colors: {
custom: {
50: '#7168a7',
500: '#2e3082',
950: '#000000',
},
}SCSS
$custom: #2e3082; $custom-light: #7168a7; $custom-dark: #000000;
JSON
{
"hex": "#2e3082",
"rgb": {
"r": 46,
"g": 48,
"b": 130
},
"hsl": {
"h": 238.571,
"s": 47.727,
"l": 34.51
},
"oklch": {
"l": 0.3611,
"c": 0.13486,
"h": 276.2
},
"luminance": 0.04306
}Semantic roles & 50–950 ramp
primary
#2E3082
secondary
#AEAC5D
accent
#D450D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F