#2E4298#2E4298
#2E4298 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.5% C 0.143 H 269.4°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4298 |
|---|---|
| RGB | rgb(46, 66, 152) |
| HSL | hsl(229, 54%, 39%) |
| HSV | hsv(229, 70%, 60%) |
| CMYK | cmyk(69.7%, 56.6%, 0%, 40.4%) |
| CIE-LAB | lab(31.22, 22.17, -49.51) |
| CIE-LCH | lch(31.22, 54.25, 294.12°) |
| OKLab | oklab(41.54% -0.0016 -0.1425) |
| OKLCH | oklch(41.54% 0.143 269.4) |
| XYZ | xyz(8.7405, 6.7434, 30.5407) |
| Luminance | 0.0674 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.32
Blueberry
#464196
ΔE00 4.33
Cobalt
#0047AB
ΔE00 4.34
Sapphire (survey)
#2138AB
ΔE00 4.43
Darkslateblue
#483D8B
ΔE00 5.97
Darkish Blue
#014182
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4298 #98842E
analogous
#2E7798 #2E4298 #4F2E98
triadic
#2E4298 #982E42 #42982E
tetradic
#2E4298 #982E77 #98842E #2E984F
square
#2E4298 #982E77 #98842E #2E984F
split-complementary
#2E4298 #984F2E #77982E
monochromatic
#12193A #202E69 #2E4298 #3E58C5 #6D81D3
Accessibility & contrast
On white
8.94
#2E4298 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#2E4298 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4298
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4298 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4298 | 1.00 | 8.94 | 2.35 | 8.94 |
| #FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9B
Deuteranopia (green-blind)
#004596
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2e4298; /* rgb */ color: rgb(46, 66, 152); /* oklch */ color: oklch(41.5% 0.143 269.4);
Tailwind
colors: {
custom: {
50: '#7476b7',
500: '#2e4298',
950: '#000000',
},
}SCSS
$custom: #2e4298; $custom-light: #7476b7; $custom-dark: #000000;
JSON
{
"hex": "#2e4298",
"rgb": {
"r": 46,
"g": 66,
"b": 152
},
"hsl": {
"h": 228.679,
"s": 53.535,
"l": 38.824
},
"oklch": {
"l": 0.41542,
"c": 0.14251,
"h": 269.4
},
"luminance": 0.06744
}Semantic roles & 50–950 ramp
primary
#2E4298
secondary
#BAAB68
accent
#C14BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80