#2E50B9#2E50B9
#2E50B9 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.1% C 0.171 H 266.2°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2E50B9 |
|---|---|
| RGB | rgb(46, 80, 185) |
| HSL | hsl(225, 60%, 45%) |
| HSV | hsv(225, 75%, 73%) |
| CMYK | cmyk(75.1%, 56.8%, 0%, 27.5%) |
| CIE-LAB | lab(37.52, 25.27, -59.00) |
| CIE-LCH | lch(37.52, 64.19, 293.19°) |
| OKLab | oklab(47.07% -0.0112 -0.1702) |
| OKLCH | oklch(47.07% 0.171 266.2) |
| XYZ | xyz(12.7493, 9.8195, 47.1130) |
| Luminance | 0.0982 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.66
Cobalt
#0047AB
ΔE00 4.18
Blue Blue
#2242C7
ΔE00 4.81
Blue (survey)
#0343DF
ΔE00 6.06
Warm Blue
#4B57DB
ΔE00 6.48
Denim Blue
#3B5B92
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E50B9 #B9972E
analogous
#2E95B9 #2E50B9 #522EB9
triadic
#2E50B9 #B92E50 #50B92E
tetradic
#2E50B9 #B92E95 #B9972E #2EB952
square
#2E50B9 #B92E95 #B9972E #2EB952
split-complementary
#2E50B9 #B9522E #95B92E
monochromatic
#162657 #223B88 #2E50B9 #5171D4 #8299E0
Accessibility & contrast
On white
7.08
#2E50B9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#2E50B9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E50B9
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E50B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E50B9 | 1.00 | 7.08 | 2.96 | 7.08 |
| #FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBD
Deuteranopia (green-blind)
#0052B7
Tritanopia (blue-blind)
#006A7C
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2e50b9; /* rgb */ color: rgb(46, 80, 185); /* oklch */ color: oklch(47.1% 0.171 266.2);
Tailwind
colors: {
custom: {
50: '#7b80cf',
500: '#2e50b9',
950: '#000000',
},
}SCSS
$custom: #2e50b9; $custom-light: #7b80cf; $custom-dark: #000000;
JSON
{
"hex": "#2e50b9",
"rgb": {
"r": 46,
"g": 80,
"b": 185
},
"hsl": {
"h": 225.324,
"s": 60.173,
"l": 45.294
},
"oklch": {
"l": 0.47069,
"c": 0.17056,
"h": 266.2
},
"luminance": 0.09821
}Semantic roles & 50–950 ramp
primary
#2E50B9
secondary
#C9B67A
accent
#BC44E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82