#2E4EB5#2E4EB5
#2E4EB5 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.3% C 0.168 H 266.6°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4EB5 |
|---|---|
| RGB | rgb(46, 78, 181) |
| HSL | hsl(226, 59%, 45%) |
| HSV | hsv(226, 75%, 71%) |
| CMYK | cmyk(74.6%, 56.9%, 0%, 29%) |
| CIE-LAB | lab(36.68, 25.09, -58.01) |
| CIE-LCH | lch(36.68, 63.20, 293.38°) |
| OKLab | oklab(46.34% -0.0099 -0.1673) |
| OKLCH | oklch(46.34% 0.168 266.6) |
| XYZ | xyz(12.1887, 9.3645, 44.8723) |
| Luminance | 0.0937 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.99
Cobalt
#0047AB
ΔE00 3.65
Blue Blue
#2242C7
ΔE00 4.54
Cobalt (survey)
#1E488F
ΔE00 5.98
Blue (survey)
#0343DF
ΔE00 6.14
Denim Blue
#3B5B92
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4EB5 #B5952E
analogous
#2E91B5 #2E4EB5 #522EB5
triadic
#2E4EB5 #B52E4E #4EB52E
tetradic
#2E4EB5 #B52E91 #B5952E #2EB552
square
#2E4EB5 #B52E91 #B5952E #2EB552
split-complementary
#2E4EB5 #B5522E #91B52E
monochromatic
#152453 #223984 #2E4EB5 #4E6DD2 #7F96DE
Accessibility & contrast
On white
7.31
#2E4EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#2E4EB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4EB5
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4EB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4EB5 | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#0050B3
Tritanopia (blue-blind)
#00677A
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2e4eb5; /* rgb */ color: rgb(46, 78, 181); /* oklch */ color: oklch(46.3% 0.168 266.6);
Tailwind
colors: {
custom: {
50: '#7a7fcc',
500: '#2e4eb5',
950: '#000000',
},
}SCSS
$custom: #2e4eb5; $custom-light: #7a7fcc; $custom-dark: #000000;
JSON
{
"hex": "#2e4eb5",
"rgb": {
"r": 46,
"g": 78,
"b": 181
},
"hsl": {
"h": 225.778,
"s": 59.471,
"l": 44.51
},
"oklch": {
"l": 0.46342,
"c": 0.1676,
"h": 266.6
},
"luminance": 0.09366
}Semantic roles & 50–950 ramp
primary
#2E4EB5
secondary
#C7B478
accent
#BD45E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82