#2E4299#2E4299
#2E4299 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.6% C 0.144 H 269.4°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4299 |
|---|---|
| RGB | rgb(46, 66, 153) |
| HSL | hsl(229, 54%, 39%) |
| HSV | hsv(229, 70%, 60%) |
| CMYK | cmyk(69.9%, 56.9%, 0%, 40%) |
| CIE-LAB | lab(31.29, 22.54, -50.00) |
| CIE-LCH | lch(31.29, 54.84, 294.27°) |
| OKLab | oklab(41.62% -0.0016 -0.1439) |
| OKLCH | oklch(41.62% 0.144 269.4) |
| XYZ | xyz(8.8227, 6.7763, 30.9738) |
| Luminance | 0.0678 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 4.29
Sapphire (survey)
#2138AB
ΔE00 4.31
Blueberry
#464196
ΔE00 4.32
Cobalt (survey)
#1E488F
ΔE00 4.40
Darkslateblue
#483D8B
ΔE00 6.00
Darkish Blue
#014182
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4299 #99852E
analogous
#2E7899 #2E4299 #502E99
triadic
#2E4299 #992E42 #42992E
tetradic
#2E4299 #992E78 #99852E #2E9950
square
#2E4299 #992E78 #99852E #2E9950
split-complementary
#2E4299 #99502E #78992E
monochromatic
#12193B #202E6A #2E4299 #3F58C5 #6E81D3
Accessibility & contrast
On white
8.92
#2E4299 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#2E4299 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4299
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4299 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4299 | 1.00 | 8.92 | 2.36 | 8.92 |
| #FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2e4299; /* rgb */ color: rgb(46, 66, 153); /* oklch */ color: oklch(41.6% 0.144 269.4);
Tailwind
colors: {
custom: {
50: '#7576b8',
500: '#2e4299',
950: '#000000',
},
}SCSS
$custom: #2e4299; $custom-light: #7576b8; $custom-dark: #000000;
JSON
{
"hex": "#2e4299",
"rgb": {
"r": 46,
"g": 66,
"b": 153
},
"hsl": {
"h": 228.785,
"s": 53.769,
"l": 39.02
},
"oklch": {
"l": 0.41623,
"c": 0.14393,
"h": 269.4
},
"luminance": 0.06777
}Semantic roles & 50–950 ramp
primary
#2E4299
secondary
#BBAB68
accent
#C24BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80