#2E3098#2E3098
#2E3098 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.165 H 274.4°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3098 |
|---|---|
| RGB | rgb(46, 48, 152) |
| HSL | hsl(239, 54%, 39%) |
| HSV | hsv(239, 70%, 60%) |
| CMYK | cmyk(69.7%, 68.4%, 0%, 40.4%) |
| CIE-LAB | lab(26.62, 34.02, -57.00) |
| CIE-LCH | lch(26.62, 66.38, 300.83°) |
| OKLab | oklab(38.15% 0.0128 -0.1646) |
| OKLCH | oklch(38.15% 0.165 274.4) |
| XYZ | xyz(7.8493, 4.9610, 30.2436) |
| Luminance | 0.0496 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.66
Blueberry
#464196
ΔE00 5.59
Darkslateblue
#483D8B
ΔE00 5.89
Royal
#0C1793
ΔE00 6.21
Indigo Blue
#3A18B1
ΔE00 6.53
Ocean Blue
#4F42B5
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3098 #98962E
analogous
#2E6598 #2E3098 #612E98
triadic
#2E3098 #982E30 #30982E
tetradic
#2E3098 #982E65 #98962E #2E9861
square
#2E3098 #982E65 #98962E #2E9861
split-complementary
#2E3098 #98612E #65982E
monochromatic
#12123A #202169 #2E3098 #3E41C5 #6D6FD3
Accessibility & contrast
On white
10.54
#2E3098 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#2E3098 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3098
10.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3098 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3098 | 1.00 | 10.54 | 1.99 | 10.54 |
| #FFFFFF | 10.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449B
Deuteranopia (green-blind)
#003A96
Tritanopia (blue-blind)
#004C60
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2e3098; /* rgb */ color: rgb(46, 48, 152); /* oklch */ color: oklch(38.2% 0.165 274.4);
Tailwind
colors: {
custom: {
50: '#7669b7',
500: '#2e3098',
950: '#000000',
},
}SCSS
$custom: #2e3098; $custom-light: #7669b7; $custom-dark: #000000;
JSON
{
"hex": "#2e3098",
"rgb": {
"r": 46,
"g": 48,
"b": 152
},
"hsl": {
"h": 238.868,
"s": 53.535,
"l": 38.824
},
"oklch": {
"l": 0.38152,
"c": 0.16515,
"h": 274.4
},
"luminance": 0.04962
}Semantic roles & 50–950 ramp
primary
#2E3098
secondary
#BAB968
accent
#DA4BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80