#2E4DB8#2E4DB8
#2E4DB8 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.4% C 0.173 H 267.0°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4DB8 |
|---|---|
| RGB | rgb(46, 77, 184) |
| HSL | hsl(227, 60%, 45%) |
| HSV | hsv(227, 75%, 72%) |
| CMYK | cmyk(75%, 58.2%, 0%, 27.8%) |
| CIE-LAB | lab(36.65, 26.87, -59.83) |
| CIE-LCH | lch(36.65, 65.59, 294.18°) |
| OKLab | oklab(46.39% -0.0091 -0.1727) |
| OKLCH | oklch(46.39% 0.173 267) |
| XYZ | xyz(12.4293, 9.3479, 46.4874) |
| Luminance | 0.0935 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.34
Cobalt
#0047AB
ΔE00 3.85
Blue Blue
#2242C7
ΔE00 3.98
Blue (survey)
#0343DF
ΔE00 5.60
Cobalt (survey)
#1E488F
ΔE00 6.40
Sapphire (survey)
#2138AB
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4DB8 #B8992E
analogous
#2E92B8 #2E4DB8 #542EB8
triadic
#2E4DB8 #B82E4D #4DB82E
tetradic
#2E4DB8 #B82E92 #B8992E #2EB854
square
#2E4DB8 #B82E92 #B8992E #2EB854
split-complementary
#2E4DB8 #B8542E #92B82E
monochromatic
#162456 #223987 #2E4DB8 #506DD3 #8196DF
Accessibility & contrast
On white
7.32
#2E4DB8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#2E4DB8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4DB8
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4DB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4DB8 | 1.00 | 7.32 | 2.87 | 7.32 |
| #FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBC
Deuteranopia (green-blind)
#0050B6
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2e4db8; /* rgb */ color: rgb(46, 77, 184); /* oklch */ color: oklch(46.4% 0.173 267.0);
Tailwind
colors: {
custom: {
50: '#7b7ece',
500: '#2e4db8',
950: '#000000',
},
}SCSS
$custom: #2e4db8; $custom-light: #7b7ece; $custom-dark: #000000;
JSON
{
"hex": "#2e4db8",
"rgb": {
"r": 46,
"g": 77,
"b": 184
},
"hsl": {
"h": 226.522,
"s": 60,
"l": 45.098
},
"oklch": {
"l": 0.46392,
"c": 0.17291,
"h": 267
},
"luminance": 0.09349
}Semantic roles & 50–950 ramp
primary
#2E4DB8
secondary
#C8B779
accent
#C045E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82