#507EEA#507EEA
#507EEA is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.5% C 0.171 H 264.6°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #507EEA |
|---|---|
| RGB | rgb(80, 126, 234) |
| HSL | hsl(222, 79%, 62%) |
| HSV | hsv(222, 66%, 92%) |
| CMYK | cmyk(65.8%, 46.2%, 0%, 8.2%) |
| CIE-LAB | lab(54.62, 18.56, -59.33) |
| CIE-LCH | lch(54.62, 62.17, 287.37°) |
| OKLab | oklab(61.52% -0.0162 -0.1698) |
| OKLCH | oklch(61.52% 0.171 264.6) |
| XYZ | xyz(25.6152, 22.5652, 80.8315) |
| Luminance | 0.2257 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 2.36
Dodger Blue
#3E82FC
ΔE00 2.79
Clear Blue
#247AFD
ΔE00 3.25
Soft Blue
#6488EA
ΔE00 3.68
Deep Sky Blue
#0D75F8
ΔE00 4.46
Azure
#007FFF
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#507EEA #EABC50
analogous
#50CBEA #507EEA #6F50EA
triadic
#507EEA #EA507E #7EEA50
tetradic
#507EEA #EA50CB #EABC50 #50EA6F
square
#507EEA #EA50CB #EABC50 #50EA6F
split-complementary
#507EEA #EA6F50 #CBEA50
monochromatic
#1541AB #1B56E2 #507EEA #87A6F1 #BDCFF7
Accessibility & contrast
On white
3.81
#507EEA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.51
#507EEA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #507EEA
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##507EEA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##507EEA | 1.00 | 3.81 | 5.51 | 5.51 |
| #FFFFFF | 3.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#478AEE
Deuteranopia (green-blind)
#287CE8
Tritanopia (blue-blind)
#0097A9
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #507eea; /* rgb */ color: rgb(80, 126, 234); /* oklch */ color: oklch(61.5% 0.171 264.6);
Tailwind
colors: {
custom: {
50: '#90a2f1',
500: '#507eea',
950: '#000000',
},
}SCSS
$custom: #507eea; $custom-light: #90a2f1; $custom-dark: #000000;
JSON
{
"hex": "#507eea",
"rgb": {
"r": 80,
"g": 126,
"b": 234
},
"hsl": {
"h": 222.078,
"s": 78.571,
"l": 61.569
},
"oklch": {
"l": 0.6152,
"c": 0.17058,
"h": 264.6
},
"luminance": 0.22568
}Semantic roles & 50–950 ramp
primary
#507EEA
secondary
#E8D6AE
accent
#9D0BDB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F17
muted
#7E7E85