#2E50B7#2E50B7
#2E50B7 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.9% C 0.168 H 266.1°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2E50B7 |
|---|---|
| RGB | rgb(46, 80, 183) |
| HSL | hsl(225, 60%, 45%) |
| HSV | hsv(225, 75%, 72%) |
| CMYK | cmyk(74.9%, 56.3%, 0%, 28.2%) |
| CIE-LAB | lab(37.36, 24.52, -58.07) |
| CIE-LCH | lch(37.36, 63.04, 292.89°) |
| OKLab | oklab(46.91% -0.0113 -0.1675) |
| OKLCH | oklch(46.91% 0.168 266.1) |
| XYZ | xyz(12.5396, 9.7357, 46.0089) |
| Luminance | 0.0974 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.58
Cobalt
#0047AB
ΔE00 4.02
Blue Blue
#2242C7
ΔE00 4.96
Cobalt (survey)
#1E488F
ΔE00 6.26
Denim Blue
#3B5B92
ΔE00 6.28
Blue (survey)
#0343DF
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E50B7 #B7952E
analogous
#2E95B7 #2E50B7 #502EB7
triadic
#2E50B7 #B72E50 #50B72E
tetradic
#2E50B7 #B72E95 #B7952E #2EB750
square
#2E50B7 #B72E95 #B7952E #2EB750
split-complementary
#2E50B7 #B7502E #95B72E
monochromatic
#152555 #223B86 #2E50B7 #4F70D3 #8098DF
Accessibility & contrast
On white
7.12
#2E50B7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#2E50B7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E50B7
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E50B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E50B7 | 1.00 | 7.12 | 2.95 | 7.12 |
| #FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBB
Deuteranopia (green-blind)
#0052B5
Tritanopia (blue-blind)
#00697B
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2e50b7; /* rgb */ color: rgb(46, 80, 183); /* oklch */ color: oklch(46.9% 0.168 266.1);
Tailwind
colors: {
custom: {
50: '#7a80cd',
500: '#2e50b7',
950: '#000000',
},
}SCSS
$custom: #2e50b7; $custom-light: #7a80cd; $custom-dark: #000000;
JSON
{
"hex": "#2e50b7",
"rgb": {
"r": 46,
"g": 80,
"b": 183
},
"hsl": {
"h": 225.109,
"s": 59.825,
"l": 44.902
},
"oklch": {
"l": 0.46906,
"c": 0.16784,
"h": 266.1
},
"luminance": 0.09737
}Semantic roles & 50–950 ramp
primary
#2E50B7
secondary
#C8B479
accent
#BC45E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82