#507FDF#507FDF
#507FDF is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.0% C 0.155 H 263.0°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #507FDF |
|---|---|
| RGB | rgb(80, 127, 223) |
| HSL | hsl(220, 69%, 59%) |
| HSV | hsv(220, 64%, 87%) |
| CMYK | cmyk(64.1%, 43%, 0%, 12.5%) |
| CIE-LAB | lab(54.25, 14.16, -53.77) |
| CIE-LCH | lch(54.25, 55.61, 284.75°) |
| OKLab | oklab(61.03% -0.0189 -0.1535) |
| OKLCH | oklch(61.03% 0.155 263) |
| XYZ | xyz(24.2123, 22.2097, 72.8086) |
| Luminance | 0.2221 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 3.26
Lightish Blue
#3D7AFD
ΔE00 3.40
Clear Blue
#247AFD
ΔE00 3.67
Soft Blue
#6488EA
ΔE00 4.01
Azure
#007FFF
ΔE00 4.41
Deep Sky Blue
#0D75F8
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#507FDF #DFB050
analogous
#50C6DF #507FDF #6950DF
triadic
#507FDF #DF507F #7FDF50
tetradic
#507FDF #DF50C6 #DFB050 #50DF69
square
#507FDF #DF50C6 #DFB050 #50DF69
split-complementary
#507FDF #DF6950 #C6DF50
monochromatic
#1C4599 #255CCC #507FDF #84A5E8 #B7CBF2
Accessibility & contrast
On white
3.86
#507FDF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.44
#507FDF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #507FDF
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##507FDF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##507FDF | 1.00 | 3.86 | 5.44 | 5.44 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5289E3
Deuteranopia (green-blind)
#3B7CDD
Tritanopia (blue-blind)
#0095A4
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #507fdf; /* rgb */ color: rgb(80, 127, 223); /* oklch */ color: oklch(61.0% 0.155 263.0);
Tailwind
colors: {
custom: {
50: '#8ea3e9',
500: '#507fdf',
950: '#000000',
},
}SCSS
$custom: #507fdf; $custom-light: #8ea3e9; $custom-dark: #000000;
JSON
{
"hex": "#507fdf",
"rgb": {
"r": 80,
"g": 127,
"b": 223
},
"hsl": {
"h": 220.28,
"s": 69.082,
"l": 59.412
},
"oklch": {
"l": 0.61027,
"c": 0.15462,
"h": 263
},
"luminance": 0.22212
}Semantic roles & 50–950 ramp
primary
#507FDF
secondary
#E1CFAA
accent
#B23CEC
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0D0F16
muted
#7E7F84