#2E4498#2E4498
#2E4498 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.0% C 0.140 H 268.6°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4498 |
|---|---|
| RGB | rgb(46, 68, 152) |
| HSL | hsl(228, 54%, 39%) |
| HSV | hsv(228, 70%, 60%) |
| CMYK | cmyk(69.7%, 55.3%, 0%, 40.4%) |
| CIE-LAB | lab(31.76, 20.82, -48.62) |
| CIE-LCH | lch(31.76, 52.90, 293.18°) |
| OKLab | oklab(41.95% -0.0034 -0.1399) |
| OKLCH | oklch(41.95% 0.14 268.6) |
| XYZ | xyz(8.8594, 6.9812, 30.5803) |
| Luminance | 0.0698 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.77
Cobalt
#0047AB
ΔE00 3.99
Blueberry
#464196
ΔE00 4.70
Sapphire (survey)
#2138AB
ΔE00 4.97
Darkish Blue
#014182
ΔE00 5.92
Darkslateblue
#483D8B
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4498 #98822E
analogous
#2E7998 #2E4498 #4D2E98
triadic
#2E4498 #982E44 #44982E
tetradic
#2E4498 #982E79 #98822E #2E984D
square
#2E4498 #982E79 #98822E #2E984D
split-complementary
#2E4498 #984D2E #79982E
monochromatic
#121A3A #202F69 #2E4498 #3E5AC5 #6D83D3
Accessibility & contrast
On white
8.76
#2E4498 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#2E4498 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4498
8.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4498 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4498 | 1.00 | 8.76 | 2.40 | 8.76 |
| #FFFFFF | 8.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#02509B
Deuteranopia (green-blind)
#004696
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2e4498; /* rgb */ color: rgb(46, 68, 152); /* oklch */ color: oklch(42.0% 0.140 268.6);
Tailwind
colors: {
custom: {
50: '#7477b7',
500: '#2e4498',
950: '#000000',
},
}SCSS
$custom: #2e4498; $custom-light: #7477b7; $custom-dark: #000000;
JSON
{
"hex": "#2e4498",
"rgb": {
"r": 46,
"g": 68,
"b": 152
},
"hsl": {
"h": 227.547,
"s": 53.535,
"l": 38.824
},
"oklch": {
"l": 0.41954,
"c": 0.1399,
"h": 268.6
},
"luminance": 0.06982
}Semantic roles & 50–950 ramp
primary
#2E4498
secondary
#BAA968
accent
#BF4BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80