#2E4EB2#2E4EB2
#2E4EB2 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.1% C 0.164 H 266.5°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4EB2 |
|---|---|
| RGB | rgb(46, 78, 178) |
| HSL | hsl(225, 59%, 44%) |
| HSV | hsv(225, 74%, 70%) |
| CMYK | cmyk(74.2%, 56.2%, 0%, 30.2%) |
| CIE-LAB | lab(36.45, 23.96, -56.61) |
| CIE-LCH | lch(36.45, 61.47, 292.94°) |
| OKLab | oklab(46.1% -0.0101 -0.1632) |
| OKLCH | oklch(46.1% 0.164 266.5) |
| XYZ | xyz(11.8842, 9.2427, 43.2685) |
| Luminance | 0.0924 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.96
Cobalt
#0047AB
ΔE00 3.44
Blue Blue
#2242C7
ΔE00 4.82
Cobalt (survey)
#1E488F
ΔE00 5.59
Dusk Blue
#26538D
ΔE00 6.28
Denim Blue
#3B5B92
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4EB2 #B2922E
analogous
#2E90B2 #2E4EB2 #502EB2
triadic
#2E4EB2 #B22E4E #4EB22E
tetradic
#2E4EB2 #B22E90 #B2922E #2EB250
square
#2E4EB2 #B22E90 #B2922E #2EB250
split-complementary
#2E4EB2 #B2502E #90B22E
monochromatic
#152351 #213981 #2E4EB2 #4C6CD1 #7D94DD
Accessibility & contrast
On white
7.37
#2E4EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#2E4EB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4EB2
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4EB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4EB2 | 1.00 | 7.37 | 2.85 | 7.37 |
| #FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#006778
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2e4eb2; /* rgb */ color: rgb(46, 78, 178); /* oklch */ color: oklch(46.1% 0.164 266.5);
Tailwind
colors: {
custom: {
50: '#797fca',
500: '#2e4eb2',
950: '#000000',
},
}SCSS
$custom: #2e4eb2; $custom-light: #797fca; $custom-dark: #000000;
JSON
{
"hex": "#2e4eb2",
"rgb": {
"r": 46,
"g": 78,
"b": 178
},
"hsl": {
"h": 225.455,
"s": 58.929,
"l": 43.922
},
"oklch": {
"l": 0.46098,
"c": 0.16351,
"h": 266.5
},
"luminance": 0.09244
}Semantic roles & 50–950 ramp
primary
#2E4EB2
secondary
#C6B376
accent
#BC46E2
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82