#2E4DB1#2E4DB1
#2E4DB1 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.8% C 0.163 H 266.7°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4DB1 |
|---|---|
| RGB | rgb(46, 77, 177) |
| HSL | hsl(226, 59%, 44%) |
| HSV | hsv(226, 74%, 69%) |
| CMYK | cmyk(74%, 56.5%, 0%, 30.6%) |
| CIE-LAB | lab(36.10, 24.24, -56.58) |
| CIE-LCH | lch(36.10, 61.55, 293.19°) |
| OKLab | oklab(45.82% -0.0094 -0.1631) |
| OKLCH | oklch(45.82% 0.163 266.7) |
| XYZ | xyz(11.7136, 9.0617, 42.7182) |
| Luminance | 0.0906 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.22
Cobalt
#0047AB
ΔE00 3.30
Blue Blue
#2242C7
ΔE00 4.65
Cobalt (survey)
#1E488F
ΔE00 5.47
Dusk Blue
#26538D
ΔE00 6.37
Sapphire (survey)
#2138AB
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4DB1 #B1922E
analogous
#2E8EB1 #2E4DB1 #512EB1
triadic
#2E4DB1 #B12E4D #4DB12E
tetradic
#2E4DB1 #B12E8E #B1922E #2EB151
square
#2E4DB1 #B12E8E #B1922E #2EB151
split-complementary
#2E4DB1 #B1512E #8EB12E
monochromatic
#152350 #213880 #2E4DB1 #4C6BD0 #7C93DD
Accessibility & contrast
On white
7.47
#2E4DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#2E4DB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4DB1
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4DB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4DB1 | 1.00 | 7.47 | 2.81 | 7.47 |
| #FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB4
Deuteranopia (green-blind)
#004FAF
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2e4db1; /* rgb */ color: rgb(46, 77, 177); /* oklch */ color: oklch(45.8% 0.163 266.7);
Tailwind
colors: {
custom: {
50: '#797ec9',
500: '#2e4db1',
950: '#000000',
},
}SCSS
$custom: #2e4db1; $custom-light: #797ec9; $custom-dark: #000000;
JSON
{
"hex": "#2e4db1",
"rgb": {
"r": 46,
"g": 77,
"b": 177
},
"hsl": {
"h": 225.802,
"s": 58.744,
"l": 43.725
},
"oklch": {
"l": 0.45815,
"c": 0.16339,
"h": 266.7
},
"luminance": 0.09063
}Semantic roles & 50–950 ramp
primary
#2E4DB1
secondary
#C6B375
accent
#BD46E2
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82