#507FE1#507FE1
#507FE1 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.2% C 0.157 H 263.2°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #507FE1 |
|---|---|
| RGB | rgb(80, 127, 225) |
| HSL | hsl(221, 71%, 60%) |
| HSV | hsv(221, 64%, 88%) |
| CMYK | cmyk(64.4%, 43.6%, 0%, 11.8%) |
| CIE-LAB | lab(54.36, 14.85, -54.71) |
| CIE-LCH | lch(54.36, 56.69, 285.18°) |
| OKLab | oklab(61.15% -0.0185 -0.1562) |
| OKLCH | oklch(61.15% 0.157 263.2) |
| XYZ | xyz(24.4835, 22.3181, 74.2371) |
| Luminance | 0.2232 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 3.11
Lightish Blue
#3D7AFD
ΔE00 3.22
Clear Blue
#247AFD
ΔE00 3.57
Soft Blue
#6488EA
ΔE00 3.88
Azure
#007FFF
ΔE00 4.36
Deep Sky Blue
#0D75F8
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#507FE1 #E1B250
analogous
#50C7E1 #507FE1 #6A50E1
triadic
#507FE1 #E1507F #7FE150
tetradic
#507FE1 #E150C7 #E1B250 #50E16A
square
#507FE1 #E150C7 #E1B250 #50E16A
split-complementary
#507FE1 #E16A50 #C7E150
monochromatic
#1B459C #245CD0 #507FE1 #84A5EA #B8CBF3
Accessibility & contrast
On white
3.84
#507FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.46
#507FE1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #507FE1
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##507FE1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##507FE1 | 1.00 | 3.84 | 5.46 | 5.46 |
| #FFFFFF | 3.84 | 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)
#5189E5
Deuteranopia (green-blind)
#397CDF
Tritanopia (blue-blind)
#0095A5
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #507fe1; /* rgb */ color: rgb(80, 127, 225); /* oklch */ color: oklch(61.2% 0.157 263.2);
Tailwind
colors: {
custom: {
50: '#8fa3eb',
500: '#507fe1',
950: '#000000',
},
}SCSS
$custom: #507fe1; $custom-light: #8fa3eb; $custom-dark: #000000;
JSON
{
"hex": "#507fe1",
"rgb": {
"r": 80,
"g": 127,
"b": 225
},
"hsl": {
"h": 220.552,
"s": 70.732,
"l": 59.804
},
"oklch": {
"l": 0.61152,
"c": 0.15732,
"h": 263.2
},
"luminance": 0.2232
}Semantic roles & 50–950 ramp
primary
#507FE1
secondary
#E2D0AA
accent
#B33AED
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F16
muted
#7E7F84