#507ED7#507ED7

#507ED7 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.3% C 0.145 H 262.3°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#507ED7
RGBrgb(80, 126, 215)
HSLhsl(220, 63%, 58%)
HSVhsv(220, 63%, 84%)
CMYKcmyk(62.8%, 41.4%, 0%, 15.7%)
CIE-LABlab(53.53, 12.03, -50.42)
CIE-LCHlch(53.53, 51.84, 283.42°)
OKLaboklab(60.32% -0.0194 -0.1436)
OKLCHoklch(60.32% 0.145 262.3)
XYZxyz(23.0306, 21.5314, 67.2191)
Luminance0.2153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507ED7 #D7A950
analogous
#50C1D7 #507ED7 #6650D7
triadic
#507ED7 #D7507E #7ED750
tetradic
#507ED7 #D750C1 #D7A950 #50D766
square
#507ED7 #D750C1 #D7A950 #50D766
split-complementary
#507ED7 #D76650 #C1D750
monochromatic
#20458C #2B5EBE #507ED7 #82A3E2 #B4C7EE

Accessibility & contrast

On white

3.96
#507ED7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#507ED7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507ED7
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507ED7#FFFFFF#000000##000000
##507ED71.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5687DA
Deuteranopia (green-blind)
#427AD5
Tritanopia (blue-blind)
#0092A0
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #507ed7;
/* rgb */ color: rgb(80, 126, 215);
/* oklch */ color: oklch(60.3% 0.145 262.3);
Tailwind
colors: {
  custom: {
    50: '#8da2e4',
    500: '#507ed7',
    950: '#000000',
  },
}
SCSS
$custom: #507ed7;
$custom-light: #8da2e4;
$custom-dark: #000000;
JSON
{
  "hex": "#507ed7",
  "rgb": {
    "r": 80,
    "g": 126,
    "b": 215
  },
  "hsl": {
    "h": 219.556,
    "s": 62.791,
    "l": 57.843
  },
  "oklch": {
    "l": 0.60324,
    "c": 0.14495,
    "h": 262.3
  },
  "luminance": 0.21533
}

Semantic roles & 50–950 ramp

primary
#507ED7
secondary
#DCCAA6
accent
#AE42E6
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0F15
muted
#7E7E84

Preview Lab

Preview with #507ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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