#507FE5#507FE5
#507FE5 is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.4% C 0.163 H 263.7°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #507FE5 |
|---|---|
| RGB | rgb(80, 127, 229) |
| HSL | hsl(221, 74%, 61%) |
| HSV | hsv(221, 65%, 90%) |
| CMYK | cmyk(65.1%, 44.5%, 0%, 10.2%) |
| CIE-LAB | lab(54.59, 16.23, -56.58) |
| CIE-LCH | lch(54.59, 58.86, 286.00°) |
| OKLab | oklab(61.4% -0.0179 -0.1617) |
| OKLCH | oklch(61.4% 0.163 263.7) |
| XYZ | xyz(25.0355, 22.5390, 77.1446) |
| Luminance | 0.2254 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.83
Lightish Blue
#3D7AFD
ΔE00 2.88
Clear Blue
#247AFD
ΔE00 3.41
Soft Blue
#6488EA
ΔE00 3.67
Azure
#007FFF
ΔE00 4.31
Deep Sky Blue
#0D75F8
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#507FE5 #E5B650
analogous
#50C9E5 #507FE5 #6B50E5
triadic
#507FE5 #E5507F #7FE550
tetradic
#507FE5 #E550C9 #E5B650 #50E56B
square
#507FE5 #E550C9 #E5B650 #50E56B
split-complementary
#507FE5 #E56B50 #C9E550
monochromatic
#1844A2 #205AD8 #507FE5 #85A6ED #BBCDF5
Accessibility & contrast
On white
3.81
#507FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.51
#507FE5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #507FE5
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##507FE5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##507FE5 | 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)
#4D8AE9
Deuteranopia (green-blind)
#337CE3
Tritanopia (blue-blind)
#0096A7
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #507fe5; /* rgb */ color: rgb(80, 127, 229); /* oklch */ color: oklch(61.4% 0.163 263.7);
Tailwind
colors: {
custom: {
50: '#8fa3ee',
500: '#507fe5',
950: '#000000',
},
}SCSS
$custom: #507fe5; $custom-light: #8fa3ee; $custom-dark: #000000;
JSON
{
"hex": "#507fe5",
"rgb": {
"r": 80,
"g": 127,
"b": 229
},
"hsl": {
"h": 221.074,
"s": 74.129,
"l": 60.588
},
"oklch": {
"l": 0.61404,
"c": 0.16271,
"h": 263.7
},
"luminance": 0.22541
}Semantic roles & 50–950 ramp
primary
#507FE5
secondary
#E5D3AC
accent
#970FD6
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F16
muted
#7E7F84