#2E4EBA#2E4EBA
#2E4EBA is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.8% C 0.174 H 266.8°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4EBA |
|---|---|
| RGB | rgb(46, 78, 186) |
| HSL | hsl(226, 60%, 45%) |
| HSV | hsv(226, 75%, 73%) |
| CMYK | cmyk(75.3%, 58.1%, 0%, 27.1%) |
| CIE-LAB | lab(37.07, 26.96, -60.32) |
| CIE-LCH | lch(37.07, 66.07, 294.08°) |
| OKLab | oklab(46.76% -0.0097 -0.1741) |
| OKLCH | oklch(46.76% 0.174 266.8) |
| XYZ | xyz(12.7109, 9.5734, 47.6228) |
| Luminance | 0.0958 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.16
Cobalt
#0047AB
ΔE00 4.08
Blue Blue
#2242C7
ΔE00 4.12
Blue (survey)
#0343DF
ΔE00 5.54
Warm Blue
#4B57DB
ΔE00 6.46
Cobalt (survey)
#1E488F
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4EBA #BA9A2E
analogous
#2E94BA #2E4EBA #542EBA
triadic
#2E4EBA #BA2E4E #4EBA2E
tetradic
#2E4EBA #BA2E94 #BA9A2E #2EBA54
square
#2E4EBA #BA2E94 #BA9A2E #2EBA54
split-complementary
#2E4EBA #BA542E #94BA2E
monochromatic
#162558 #223989 #2E4EBA #516FD4 #8298E0
Accessibility & contrast
On white
7.20
#2E4EBA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#2E4EBA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4EBA
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4EBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4EBA | 1.00 | 7.20 | 2.91 | 7.20 |
| #FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#0051B8
Tritanopia (blue-blind)
#00697C
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2e4eba; /* rgb */ color: rgb(46, 78, 186); /* oklch */ color: oklch(46.8% 0.174 266.8);
Tailwind
colors: {
custom: {
50: '#7b7fd0',
500: '#2e4eba',
950: '#000000',
},
}SCSS
$custom: #2e4eba; $custom-light: #7b7fd0; $custom-dark: #000000;
JSON
{
"hex": "#2e4eba",
"rgb": {
"r": 46,
"g": 78,
"b": 186
},
"hsl": {
"h": 226.286,
"s": 60.345,
"l": 45.49
},
"oklch": {
"l": 0.46756,
"c": 0.17437,
"h": 266.8
},
"luminance": 0.09575
}Semantic roles & 50–950 ramp
primary
#2E4EBA
secondary
#C9B77B
accent
#BF44E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82