#507CF5#507CF5

#507CF5 is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.9% C 0.188 H 266.0°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#507CF5
RGBrgb(80, 124, 245)
HSLhsl(224, 89%, 64%)
HSVhsv(224, 67%, 96%)
CMYKcmyk(67.3%, 49.4%, 0%, 3.9%)
CIE-LABlab(54.77, 23.59, -65.21)
CIE-LCHlch(54.77, 69.34, 289.89°)
OKLaboklab(61.85% -0.013 -0.1871)
OKLCHoklch(61.85% 0.188 266)
XYZxyz(26.9916, 22.7107, 89.3296)
Luminance0.2271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507CF5 #F5C950
analogous
#50CEF5 #507CF5 #7650F5
triadic
#507CF5 #F5507C #7CF550
tetradic
#507CF5 #F550CE #F5C950 #50F576
square
#507CF5 #F550CE #F5C950 #50F576
split-complementary
#507CF5 #F57650 #CEF550
monochromatic
#0B3BC0 #1651F2 #507CF5 #8AA7F8 #C4D3FC

Accessibility & contrast

On white

3.79
#507CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#507CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507CF5
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507CF5#FFFFFF#000000##000000
##507CF51.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#368BF9
Deuteranopia (green-blind)
#007CF3
Tritanopia (blue-blind)
#0098AD
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #507cf5;
/* rgb */ color: rgb(80, 124, 245);
/* oklch */ color: oklch(61.9% 0.188 266.0);
Tailwind
colors: {
  custom: {
    50: '#92a1f9',
    500: '#507cf5',
    950: '#000000',
  },
}
SCSS
$custom: #507cf5;
$custom-light: #92a1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#507cf5",
  "rgb": {
    "r": 80,
    "g": 124,
    "b": 245
  },
  "hsl": {
    "h": 224,
    "s": 89.189,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61854,
    "c": 0.18758,
    "h": 266
  },
  "luminance": 0.22713
}

Semantic roles & 50–950 ramp

primary
#507CF5
secondary
#EDDEB3
accent
#A800E6
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #507CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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