#2E4BBA#2E4BBA
#2E4BBA is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.2% C 0.178 H 267.6°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4BBA |
|---|---|
| RGB | rgb(46, 75, 186) |
| HSL | hsl(228, 60%, 45%) |
| HSV | hsv(228, 75%, 73%) |
| CMYK | cmyk(75.3%, 59.7%, 0%, 27.1%) |
| CIE-LAB | lab(36.28, 28.92, -61.60) |
| CIE-LCH | lch(36.28, 68.05, 295.15°) |
| OKLab | oklab(46.17% -0.0076 -0.1779) |
| OKLCH | oklch(46.17% 0.178 267.6) |
| XYZ | xyz(12.5026, 9.1568, 47.5534) |
| Luminance | 0.0916 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.24
Sapphire
#0F52BA
ΔE00 3.96
Cobalt
#0047AB
ΔE00 4.03
Blue (survey)
#0343DF
ΔE00 5.04
Sapphire (survey)
#2138AB
ΔE00 5.88
Ocean Blue
#4F42B5
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4BBA #BA9D2E
analogous
#2E91BA #2E4BBA #572EBA
triadic
#2E4BBA #BA2E4B #4BBA2E
tetradic
#2E4BBA #BA2E91 #BA9D2E #2EBA57
square
#2E4BBA #BA2E91 #BA9D2E #2EBA57
split-complementary
#2E4BBA #BA572E #91BA2E
monochromatic
#162358 #223789 #2E4BBA #516CD4 #8296E0
Accessibility & contrast
On white
7.42
#2E4BBA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#2E4BBA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4BBA
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4BBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4BBA | 1.00 | 7.42 | 2.83 | 7.42 |
| #FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#004FB8
Tritanopia (blue-blind)
#00677B
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2e4bba; /* rgb */ color: rgb(46, 75, 186); /* oklch */ color: oklch(46.2% 0.178 267.6);
Tailwind
colors: {
custom: {
50: '#7b7dd0',
500: '#2e4bba',
950: '#000000',
},
}SCSS
$custom: #2e4bba; $custom-light: #7b7dd0; $custom-dark: #000000;
JSON
{
"hex": "#2e4bba",
"rgb": {
"r": 46,
"g": 75,
"b": 186
},
"hsl": {
"h": 227.571,
"s": 60.345,
"l": 45.49
},
"oklch": {
"l": 0.46172,
"c": 0.17804,
"h": 267.6
},
"luminance": 0.09158
}Semantic roles & 50–950 ramp
primary
#2E4BBA
secondary
#C9B97B
accent
#C344E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82