#2E4DB4#2E4DB4
#2E4DB4 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.1% C 0.167 H 266.8°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4DB4 |
|---|---|
| RGB | rgb(46, 77, 180) |
| HSL | hsl(226, 59%, 44%) |
| HSV | hsv(226, 74%, 71%) |
| CMYK | cmyk(74.4%, 57.2%, 0%, 29.4%) |
| CIE-LAB | lab(36.33, 25.37, -57.98) |
| CIE-LCH | lch(36.33, 63.29, 293.63°) |
| OKLab | oklab(46.06% -0.0092 -0.1672) |
| OKLCH | oklch(46.06% 0.167 266.8) |
| XYZ | xyz(12.0159, 9.1826, 44.3103) |
| Luminance | 0.0918 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.24
Cobalt
#0047AB
ΔE00 3.51
Blue Blue
#2242C7
ΔE00 4.35
Cobalt (survey)
#1E488F
ΔE00 5.87
Blue (survey)
#0343DF
ΔE00 6.10
Sapphire (survey)
#2138AB
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4DB4 #B4952E
analogous
#2E90B4 #2E4DB4 #522EB4
triadic
#2E4DB4 #B42E4D #4DB42E
tetradic
#2E4DB4 #B42E90 #B4952E #2EB452
square
#2E4DB4 #B42E90 #B4952E #2EB452
split-complementary
#2E4DB4 #B4522E #90B42E
monochromatic
#152353 #223883 #2E4DB4 #4E6CD2 #7E94DE
Accessibility & contrast
On white
7.40
#2E4DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#2E4DB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4DB4
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4DB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4DB4 | 1.00 | 7.40 | 2.84 | 7.40 |
| #FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB8
Deuteranopia (green-blind)
#0050B2
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2e4db4; /* rgb */ color: rgb(46, 77, 180); /* oklch */ color: oklch(46.1% 0.167 266.8);
Tailwind
colors: {
custom: {
50: '#7a7ecb',
500: '#2e4db4',
950: '#000000',
},
}SCSS
$custom: #2e4db4; $custom-light: #7a7ecb; $custom-dark: #000000;
JSON
{
"hex": "#2e4db4",
"rgb": {
"r": 46,
"g": 77,
"b": 180
},
"hsl": {
"h": 226.119,
"s": 59.292,
"l": 44.314
},
"oklch": {
"l": 0.4606,
"c": 0.16748,
"h": 266.8
},
"luminance": 0.09184
}Semantic roles & 50–950 ramp
primary
#2E4DB4
secondary
#C7B477
accent
#BE45E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82