#2E3099#2E3099
#2E3099 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.166 H 274.4°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3099 |
|---|---|
| RGB | rgb(46, 48, 153) |
| HSL | hsl(239, 54%, 39%) |
| HSV | hsv(239, 70%, 60%) |
| CMYK | cmyk(69.9%, 68.6%, 0%, 40%) |
| CIE-LAB | lab(26.72, 34.37, -57.46) |
| CIE-LCH | lch(26.72, 66.96, 300.88°) |
| OKLab | oklab(38.25% 0.0127 -0.166) |
| OKLCH | oklch(38.25% 0.166 274.4) |
| XYZ | xyz(7.9315, 4.9939, 30.6767) |
| Luminance | 0.0500 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.57
Blueberry
#464196
ΔE00 5.62
Darkslateblue
#483D8B
ΔE00 5.96
Royal
#0C1793
ΔE00 6.21
Indigo Blue
#3A18B1
ΔE00 6.43
Ocean Blue
#4F42B5
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3099 #99972E
analogous
#2E6699 #2E3099 #622E99
triadic
#2E3099 #992E30 #30992E
tetradic
#2E3099 #992E66 #99972E #2E9962
square
#2E3099 #992E66 #99972E #2E9962
split-complementary
#2E3099 #99622E #66992E
monochromatic
#12123B #20216A #2E3099 #3F41C5 #6E70D3
Accessibility & contrast
On white
10.51
#2E3099 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#2E3099 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3099
10.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3099 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3099 | 1.00 | 10.51 | 2.00 | 10.51 |
| #FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#003A97
Tritanopia (blue-blind)
#004C60
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2e3099; /* rgb */ color: rgb(46, 48, 153); /* oklch */ color: oklch(38.2% 0.166 274.4);
Tailwind
colors: {
custom: {
50: '#7669b8',
500: '#2e3099',
950: '#000000',
},
}SCSS
$custom: #2e3099; $custom-light: #7669b8; $custom-dark: #000000;
JSON
{
"hex": "#2e3099",
"rgb": {
"r": 46,
"g": 48,
"b": 153
},
"hsl": {
"h": 238.879,
"s": 53.769,
"l": 39.02
},
"oklch": {
"l": 0.38249,
"c": 0.16648,
"h": 274.4
},
"luminance": 0.04995
}Semantic roles & 50–950 ramp
primary
#2E3099
secondary
#BBB968
accent
#DA4BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80