#2E50B4#2E50B4
#2E50B4 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.7% C 0.164 H 266.0°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2E50B4 |
|---|---|
| RGB | rgb(46, 80, 180) |
| HSL | hsl(225, 59%, 44%) |
| HSV | hsv(225, 74%, 71%) |
| CMYK | cmyk(74.4%, 55.6%, 0%, 29.4%) |
| CIE-LAB | lab(37.14, 23.39, -56.67) |
| CIE-LCH | lch(37.14, 61.31, 292.43°) |
| OKLab | oklab(46.66% -0.0115 -0.1633) |
| OKLCH | oklch(46.66% 0.164 266) |
| XYZ | xyz(12.2307, 9.6121, 44.3819) |
| Luminance | 0.0961 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.51
Cobalt
#0047AB
ΔE00 3.81
Blue Blue
#2242C7
ΔE00 5.22
Cobalt (survey)
#1E488F
ΔE00 5.88
Denim Blue
#3B5B92
ΔE00 5.99
Dusk Blue
#26538D
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E50B4 #B4922E
analogous
#2E93B4 #2E50B4 #4F2EB4
triadic
#2E50B4 #B42E50 #50B42E
tetradic
#2E50B4 #B42E93 #B4922E #2EB44F
square
#2E50B4 #B42E93 #B4922E #2EB44F
split-complementary
#2E50B4 #B44F2E #93B42E
monochromatic
#152553 #223A83 #2E50B4 #4E6FD2 #7E97DE
Accessibility & contrast
On white
7.19
#2E50B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#2E50B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E50B4
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E50B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E50B4 | 1.00 | 7.19 | 2.92 | 7.19 |
| #FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EB7
Deuteranopia (green-blind)
#0051B2
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2e50b4; /* rgb */ color: rgb(46, 80, 180); /* oklch */ color: oklch(46.7% 0.164 266.0);
Tailwind
colors: {
custom: {
50: '#7a80cb',
500: '#2e50b4',
950: '#000000',
},
}SCSS
$custom: #2e50b4; $custom-light: #7a80cb; $custom-dark: #000000;
JSON
{
"hex": "#2e50b4",
"rgb": {
"r": 46,
"g": 80,
"b": 180
},
"hsl": {
"h": 224.776,
"s": 59.292,
"l": 44.314
},
"oklch": {
"l": 0.46664,
"c": 0.16375,
"h": 266
},
"luminance": 0.09613
}Semantic roles & 50–950 ramp
primary
#2E50B4
secondary
#C7B377
accent
#BB45E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82