#2E409E#2E409E
#2E409E is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.6% C 0.154 H 270.1°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2E409E |
|---|---|
| RGB | rgb(46, 64, 158) |
| HSL | hsl(230, 55%, 40%) |
| HSV | hsv(230, 71%, 62%) |
| CMYK | cmyk(70.9%, 59.5%, 0%, 38%) |
| CIE-LAB | lab(31.15, 25.75, -53.26) |
| CIE-LCH | lch(31.15, 59.16, 295.80°) |
| OKLab | oklab(41.64% 0.0003 -0.1535) |
| OKLCH | oklch(41.64% 0.154 270.1) |
| XYZ | xyz(9.1296, 6.7154, 33.1562) |
| Luminance | 0.0672 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.23
Blueberry
#464196
ΔE00 4.11
Cobalt
#0047AB
ΔE00 4.54
Cobalt (survey)
#1E488F
ΔE00 5.38
Blue Blue
#2242C7
ΔE00 5.55
Darkslateblue
#483D8B
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E409E #9E8C2E
analogous
#2E789E #2E409E #542E9E
triadic
#2E409E #9E2E40 #409E2E
tetradic
#2E409E #9E2E78 #9E8C2E #2E9E54
square
#2E409E #9E2E78 #9E8C2E #2E9E54
split-complementary
#2E409E #9E542E #789E2E
monochromatic
#121A3F #202D6F #2E409E #4157C8 #7181D6
Accessibility & contrast
On white
8.96
#2E409E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#2E409E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E409E
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E409E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E409E | 1.00 | 8.96 | 2.34 | 8.96 |
| #FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#00449C
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2e409e; /* rgb */ color: rgb(46, 64, 158); /* oklch */ color: oklch(41.6% 0.154 270.1);
Tailwind
colors: {
custom: {
50: '#7674bb',
500: '#2e409e',
950: '#000000',
},
}SCSS
$custom: #2e409e; $custom-light: #7674bb; $custom-dark: #000000;
JSON
{
"hex": "#2e409e",
"rgb": {
"r": 46,
"g": 64,
"b": 158
},
"hsl": {
"h": 230.357,
"s": 54.902,
"l": 40
},
"oklch": {
"l": 0.41641,
"c": 0.15355,
"h": 270.1
},
"luminance": 0.06716
}Semantic roles & 50–950 ramp
primary
#2E409E
secondary
#BDB06B
accent
#C64ADE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81