#2E4DB5#2E4DB5
#2E4DB5 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.1% C 0.169 H 266.9°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4DB5 |
|---|---|
| RGB | rgb(46, 77, 181) |
| HSL | hsl(226, 59%, 45%) |
| HSV | hsv(226, 75%, 71%) |
| CMYK | cmyk(74.6%, 57.5%, 0%, 29%) |
| CIE-LAB | lab(36.41, 25.74, -58.44) |
| CIE-LCH | lch(36.41, 63.86, 293.77°) |
| OKLab | oklab(46.14% -0.0092 -0.1686) |
| OKLCH | oklch(46.14% 0.169 266.9) |
| XYZ | xyz(12.1182, 9.2235, 44.8488) |
| Luminance | 0.0922 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.25
Cobalt
#0047AB
ΔE00 3.59
Blue Blue
#2242C7
ΔE00 4.25
Blue (survey)
#0343DF
ΔE00 5.97
Cobalt (survey)
#1E488F
ΔE00 6.00
Sapphire (survey)
#2138AB
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4DB5 #B5962E
analogous
#2E91B5 #2E4DB5 #532EB5
triadic
#2E4DB5 #B52E4D #4DB52E
tetradic
#2E4DB5 #B52E91 #B5962E #2EB553
square
#2E4DB5 #B52E91 #B5962E #2EB553
split-complementary
#2E4DB5 #B5532E #91B52E
monochromatic
#152353 #223884 #2E4DB5 #4E6CD2 #7F95DE
Accessibility & contrast
On white
7.38
#2E4DB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#2E4DB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4DB5
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4DB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4DB5 | 1.00 | 7.38 | 2.85 | 7.38 |
| #FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#0050B3
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2e4db5; /* rgb */ color: rgb(46, 77, 181); /* oklch */ color: oklch(46.1% 0.169 266.9);
Tailwind
colors: {
custom: {
50: '#7a7ecc',
500: '#2e4db5',
950: '#000000',
},
}SCSS
$custom: #2e4db5; $custom-light: #7a7ecc; $custom-dark: #000000;
JSON
{
"hex": "#2e4db5",
"rgb": {
"r": 46,
"g": 77,
"b": 181
},
"hsl": {
"h": 226.222,
"s": 59.471,
"l": 44.51
},
"oklch": {
"l": 0.46143,
"c": 0.16885,
"h": 266.9
},
"luminance": 0.09225
}Semantic roles & 50–950 ramp
primary
#2E4DB5
secondary
#C7B578
accent
#BE45E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82