#2E50BA#2E50BA
#2E50BA is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.2% C 0.172 H 266.3°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2E50BA |
|---|---|
| RGB | rgb(46, 80, 186) |
| HSL | hsl(225, 60%, 45%) |
| HSV | hsv(225, 75%, 73%) |
| CMYK | cmyk(75.3%, 57%, 0%, 27.1%) |
| CIE-LAB | lab(37.59, 25.65, -59.46) |
| CIE-LCH | lch(37.59, 64.76, 293.33°) |
| OKLab | oklab(47.15% -0.0111 -0.1715) |
| OKLCH | oklch(47.15% 0.172 266.3) |
| XYZ | xyz(12.8552, 9.8619, 47.6709) |
| Luminance | 0.0986 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.70
Cobalt
#0047AB
ΔE00 4.26
Blue Blue
#2242C7
ΔE00 4.74
Blue (survey)
#0343DF
ΔE00 5.95
Warm Blue
#4B57DB
ΔE00 6.36
Denim Blue
#3B5B92
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E50BA #BA982E
analogous
#2E96BA #2E50BA #522EBA
triadic
#2E50BA #BA2E50 #50BA2E
tetradic
#2E50BA #BA2E96 #BA982E #2EBA52
square
#2E50BA #BA2E96 #BA982E #2EBA52
split-complementary
#2E50BA #BA522E #96BA2E
monochromatic
#162658 #223B89 #2E50BA #5171D4 #8299E0
Accessibility & contrast
On white
7.06
#2E50BA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#2E50BA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E50BA
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E50BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E50BA | 1.00 | 7.06 | 2.97 | 7.06 |
| #FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#0052B8
Tritanopia (blue-blind)
#006A7D
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2e50ba; /* rgb */ color: rgb(46, 80, 186); /* oklch */ color: oklch(47.2% 0.172 266.3);
Tailwind
colors: {
custom: {
50: '#7b80d0',
500: '#2e50ba',
950: '#000000',
},
}SCSS
$custom: #2e50ba; $custom-light: #7b80d0; $custom-dark: #000000;
JSON
{
"hex": "#2e50ba",
"rgb": {
"r": 46,
"g": 80,
"b": 186
},
"hsl": {
"h": 225.429,
"s": 60.345,
"l": 45.49
},
"oklch": {
"l": 0.47151,
"c": 0.17191,
"h": 266.3
},
"luminance": 0.09863
}Semantic roles & 50–950 ramp
primary
#2E50BA
secondary
#C9B67B
accent
#BD44E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82