#2E4DB2#2E4DB2
#2E4DB2 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.9% C 0.165 H 266.8°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4DB2 |
|---|---|
| RGB | rgb(46, 77, 178) |
| HSL | hsl(226, 59%, 44%) |
| HSV | hsv(226, 74%, 70%) |
| CMYK | cmyk(74.2%, 56.7%, 0%, 30.2%) |
| CIE-LAB | lab(36.18, 24.62, -57.05) |
| CIE-LCH | lch(36.18, 62.13, 293.34°) |
| OKLab | oklab(45.9% -0.0093 -0.1645) |
| OKLCH | oklch(45.9% 0.165 266.8) |
| XYZ | xyz(11.8137, 9.1017, 43.2450) |
| Luminance | 0.0910 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.22
Cobalt
#0047AB
ΔE00 3.37
Blue Blue
#2242C7
ΔE00 4.55
Cobalt (survey)
#1E488F
ΔE00 5.61
Blue (survey)
#0343DF
ΔE00 6.35
Sapphire (survey)
#2138AB
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4DB2 #B2932E
analogous
#2E8FB2 #2E4DB2 #512EB2
triadic
#2E4DB2 #B22E4D #4DB22E
tetradic
#2E4DB2 #B22E8F #B2932E #2EB251
square
#2E4DB2 #B22E8F #B2932E #2EB251
split-complementary
#2E4DB2 #B2512E #8FB22E
monochromatic
#152351 #213881 #2E4DB2 #4C6BD1 #7D94DD
Accessibility & contrast
On white
7.45
#2E4DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#2E4DB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4DB2
7.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4DB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4DB2 | 1.00 | 7.45 | 2.82 | 7.45 |
| #FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB5
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2e4db2; /* rgb */ color: rgb(46, 77, 178); /* oklch */ color: oklch(45.9% 0.165 266.8);
Tailwind
colors: {
custom: {
50: '#797eca',
500: '#2e4db2',
950: '#000000',
},
}SCSS
$custom: #2e4db2; $custom-light: #797eca; $custom-dark: #000000;
JSON
{
"hex": "#2e4db2",
"rgb": {
"r": 46,
"g": 77,
"b": 178
},
"hsl": {
"h": 225.909,
"s": 58.929,
"l": 43.922
},
"oklch": {
"l": 0.45896,
"c": 0.16476,
"h": 266.8
},
"luminance": 0.09103
}Semantic roles & 50–950 ramp
primary
#2E4DB2
secondary
#C6B376
accent
#BD46E2
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82