#507DE7#507DE7

#507DE7 is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.1% C 0.168 H 264.6°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#507DE7
RGBrgb(80, 125, 231)
HSLhsl(222, 76%, 61%)
HSVhsv(222, 65%, 91%)
CMYKcmyk(65.4%, 45.9%, 0%, 9.4%)
CIE-LABlab(54.17, 18.14, -58.37)
CIE-LCHlch(54.17, 61.13, 287.26°)
OKLaboklab(61.12% -0.0157 -0.167)
OKLCHoklch(61.12% 0.168 264.6)
XYZxyz(25.0607, 22.1398, 78.5385)
Luminance0.2214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507DE7 #E7BA50
analogous
#50C8E7 #507DE7 #6E50E7
triadic
#507DE7 #E7507D #7DE750
tetradic
#507DE7 #E750C8 #E7BA50 #50E76E
square
#507DE7 #E750C8 #E7BA50 #50E76E
split-complementary
#507DE7 #E76E50 #C8E750
monochromatic
#1741A6 #1E57DC #507DE7 #86A5EE #BCCDF6

Accessibility & contrast

On white

3.87
#507DE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#507DE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507DE7
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507DE7#FFFFFF#000000##000000
##507DE71.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4889EB
Deuteranopia (green-blind)
#2B7BE5
Tritanopia (blue-blind)
#0095A7
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #507de7;
/* rgb */ color: rgb(80, 125, 231);
/* oklch */ color: oklch(61.1% 0.168 264.6);
Tailwind
colors: {
  custom: {
    50: '#90a2ef',
    500: '#507de7',
    950: '#000000',
  },
}
SCSS
$custom: #507de7;
$custom-light: #90a2ef;
$custom-dark: #000000;
JSON
{
  "hex": "#507de7",
  "rgb": {
    "r": 80,
    "g": 125,
    "b": 231
  },
  "hsl": {
    "h": 222.119,
    "s": 75.879,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61121,
    "c": 0.16775,
    "h": 264.6
  },
  "luminance": 0.22142
}

Semantic roles & 50–950 ramp

primary
#507DE7
secondary
#E6D5AD
accent
#9C0DD8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F16
muted
#7E7E84

Preview Lab

Preview with #507DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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