#507CF7#507CF7

#507CF7 is a mid, vivid blue. Relative luminance 0.228; OKLCH L 62.0% C 0.190 H 266.2°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#507CF7
RGBrgb(80, 124, 247)
HSLhsl(224, 91%, 64%)
HSVhsv(224, 68%, 97%)
CMYKcmyk(67.6%, 49.8%, 0%, 3.1%)
CIE-LABlab(54.90, 24.29, -66.11)
CIE-LCHlch(54.90, 70.43, 290.17°)
OKLaboklab(61.99% -0.0128 -0.1898)
OKLCHoklch(61.99% 0.19 266.2)
XYZxyz(27.2986, 22.8335, 90.9463)
Luminance0.2284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507CF7 #F7CB50
analogous
#50CFF7 #507CF7 #7850F7
triadic
#507CF7 #F7507C #7CF750
tetradic
#507CF7 #F750CF #F7CB50 #50F778
square
#507CF7 #F750CF #F7CB50 #50F778
split-complementary
#507CF7 #F77850 #CFF750
monochromatic
#093AC4 #1550F4 #507CF7 #8BA8FA #C5D4FC

Accessibility & contrast

On white

3.77
#507CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#507CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507CF7
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507CF7#FFFFFF#000000##000000
##507CF71.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#348BFB
Deuteranopia (green-blind)
#007CF4
Tritanopia (blue-blind)
#0099AE
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #507cf7;
/* rgb */ color: rgb(80, 124, 247);
/* oklch */ color: oklch(62.0% 0.190 266.2);
Tailwind
colors: {
  custom: {
    50: '#93a1fb',
    500: '#507cf7',
    950: '#000000',
  },
}
SCSS
$custom: #507cf7;
$custom-light: #93a1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#507cf7",
  "rgb": {
    "r": 80,
    "g": 124,
    "b": 247
  },
  "hsl": {
    "h": 224.192,
    "s": 91.257,
    "l": 64.118
  },
  "oklch": {
    "l": 0.61991,
    "c": 0.19021,
    "h": 266.2
  },
  "luminance": 0.22836
}

Semantic roles & 50–950 ramp

primary
#507CF7
secondary
#EFDFB4
accent
#A900E6
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #507CF7

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#507CF7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva