#2E4DBA#2E4DBA
#2E4DBA is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.6% C 0.176 H 267.1°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4DBA |
|---|---|
| RGB | rgb(46, 77, 186) |
| HSL | hsl(227, 60%, 45%) |
| HSV | hsv(227, 75%, 73%) |
| CMYK | cmyk(75.3%, 58.6%, 0%, 27.1%) |
| CIE-LAB | lab(36.80, 27.61, -60.75) |
| CIE-LCH | lch(36.80, 66.73, 294.45°) |
| OKLab | oklab(46.56% -0.009 -0.1754) |
| OKLCH | oklch(46.56% 0.176 267.1) |
| XYZ | xyz(12.6404, 9.4324, 47.5993) |
| Luminance | 0.0943 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.42
Blue Blue
#2242C7
ΔE00 3.82
Cobalt
#0047AB
ΔE00 4.04
Blue (survey)
#0343DF
ΔE00 5.36
Ocean Blue
#4F42B5
ΔE00 6.38
Sapphire (survey)
#2138AB
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4DBA #BA9B2E
analogous
#2E93BA #2E4DBA #552EBA
triadic
#2E4DBA #BA2E4D #4DBA2E
tetradic
#2E4DBA #BA2E93 #BA9B2E #2EBA55
square
#2E4DBA #BA2E93 #BA9B2E #2EBA55
split-complementary
#2E4DBA #BA552E #93BA2E
monochromatic
#162458 #223989 #2E4DBA #516ED4 #8297E0
Accessibility & contrast
On white
7.27
#2E4DBA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#2E4DBA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4DBA
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4DBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4DBA | 1.00 | 7.27 | 2.89 | 7.27 |
| #FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#0050B8
Tritanopia (blue-blind)
#00687C
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2e4dba; /* rgb */ color: rgb(46, 77, 186); /* oklch */ color: oklch(46.6% 0.176 267.1);
Tailwind
colors: {
custom: {
50: '#7b7ed0',
500: '#2e4dba',
950: '#000000',
},
}SCSS
$custom: #2e4dba; $custom-light: #7b7ed0; $custom-dark: #000000;
JSON
{
"hex": "#2e4dba",
"rgb": {
"r": 46,
"g": 77,
"b": 186
},
"hsl": {
"h": 226.714,
"s": 60.345,
"l": 45.49
},
"oklch": {
"l": 0.4656,
"c": 0.1756,
"h": 267.1
},
"luminance": 0.09434
}Semantic roles & 50–950 ramp
primary
#2E4DBA
secondary
#C9B87B
accent
#C044E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82