#2E4DB9#2E4DB9
#2E4DB9 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.5% C 0.174 H 267.0°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4DB9 |
|---|---|
| RGB | rgb(46, 77, 185) |
| HSL | hsl(227, 60%, 45%) |
| HSV | hsv(227, 75%, 73%) |
| CMYK | cmyk(75.1%, 58.4%, 0%, 27.5%) |
| CIE-LAB | lab(36.72, 27.24, -60.29) |
| CIE-LCH | lch(36.72, 66.16, 294.32°) |
| OKLab | oklab(46.48% -0.009 -0.174) |
| OKLCH | oklch(46.48% 0.174 267) |
| XYZ | xyz(12.5345, 9.3900, 47.0414) |
| Luminance | 0.0939 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.37
Blue Blue
#2242C7
ΔE00 3.90
Cobalt
#0047AB
ΔE00 3.94
Blue (survey)
#0343DF
ΔE00 5.48
Ocean Blue
#4F42B5
ΔE00 6.42
Sapphire (survey)
#2138AB
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4DB9 #B99A2E
analogous
#2E92B9 #2E4DB9 #552EB9
triadic
#2E4DB9 #B92E4D #4DB92E
tetradic
#2E4DB9 #B92E92 #B99A2E #2EB955
square
#2E4DB9 #B92E92 #B99A2E #2EB955
split-complementary
#2E4DB9 #B9552E #92B92E
monochromatic
#162457 #223988 #2E4DB9 #516ED4 #8297E0
Accessibility & contrast
On white
7.30
#2E4DB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#2E4DB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4DB9
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4DB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4DB9 | 1.00 | 7.30 | 2.88 | 7.30 |
| #FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBD
Deuteranopia (green-blind)
#0050B7
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2e4db9; /* rgb */ color: rgb(46, 77, 185); /* oklch */ color: oklch(46.5% 0.174 267.0);
Tailwind
colors: {
custom: {
50: '#7b7ecf',
500: '#2e4db9',
950: '#000000',
},
}SCSS
$custom: #2e4db9; $custom-light: #7b7ecf; $custom-dark: #000000;
JSON
{
"hex": "#2e4db9",
"rgb": {
"r": 46,
"g": 77,
"b": 185
},
"hsl": {
"h": 226.619,
"s": 60.173,
"l": 45.294
},
"oklch": {
"l": 0.46476,
"c": 0.17425,
"h": 267
},
"luminance": 0.09391
}Semantic roles & 50–950 ramp
primary
#2E4DB9
secondary
#C9B77A
accent
#C044E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82