#507EE5#507EE5
#507EE5 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.2% C 0.164 H 264.1°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #507EE5 |
|---|---|
| RGB | rgb(80, 126, 229) |
| HSL | hsl(221, 74%, 61%) |
| HSV | hsv(221, 65%, 90%) |
| CMYK | cmyk(65.1%, 45%, 0%, 10.2%) |
| CIE-LAB | lab(54.32, 16.84, -57.01) |
| CIE-LCH | lch(54.32, 59.45, 286.45°) |
| OKLab | oklab(61.2% -0.0169 -0.163) |
| OKLCH | oklch(61.2% 0.164 264.1) |
| XYZ | xyz(24.9070, 22.2820, 77.1018) |
| Luminance | 0.2228 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 2.75
Dodger Blue
#3E82FC
ΔE00 3.05
Clear Blue
#247AFD
ΔE00 3.38
Soft Blue
#6488EA
ΔE00 3.86
Deep Sky Blue
#0D75F8
ΔE00 4.43
Azure
#007FFF
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#507EE5 #E5B750
analogous
#50C8E5 #507EE5 #6D50E5
triadic
#507EE5 #E5507E #7EE550
tetradic
#507EE5 #E550C8 #E5B750 #50E56D
square
#507EE5 #E550C8 #E5B750 #50E56D
split-complementary
#507EE5 #E56D50 #C8E550
monochromatic
#1843A2 #2059D8 #507EE5 #85A5ED #BBCDF5
Accessibility & contrast
On white
3.85
#507EE5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.46
#507EE5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #507EE5
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##507EE5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##507EE5 | 1.00 | 3.85 | 5.46 | 5.46 |
| #FFFFFF | 3.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B89E9
Deuteranopia (green-blind)
#317CE3
Tritanopia (blue-blind)
#0096A6
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #507ee5; /* rgb */ color: rgb(80, 126, 229); /* oklch */ color: oklch(61.2% 0.164 264.1);
Tailwind
colors: {
custom: {
50: '#8fa2ee',
500: '#507ee5',
950: '#000000',
},
}SCSS
$custom: #507ee5; $custom-light: #8fa2ee; $custom-dark: #000000;
JSON
{
"hex": "#507ee5",
"rgb": {
"r": 80,
"g": 126,
"b": 229
},
"hsl": {
"h": 221.477,
"s": 74.129,
"l": 60.588
},
"oklch": {
"l": 0.61197,
"c": 0.16388,
"h": 264.1
},
"luminance": 0.22284
}Semantic roles & 50–950 ramp
primary
#507EE5
secondary
#E5D3AC
accent
#990FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F16
muted
#7E7E84