#507ED8#507ED8

#507ED8 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.4% C 0.146 H 262.5°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#507ED8
RGBrgb(80, 126, 216)
HSLhsl(220, 64%, 58%)
HSVhsv(220, 63%, 85%)
CMYKcmyk(63%, 41.7%, 0%, 15.3%)
CIE-LABlab(53.58, 12.38, -50.90)
CIE-LCHlch(53.58, 52.38, 283.67°)
OKLaboklab(60.39% -0.0192 -0.145)
OKLCHoklch(60.39% 0.146 262.5)
XYZxyz(23.1595, 21.5829, 67.8979)
Luminance0.2158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507ED8 #D8AA50
analogous
#50C2D8 #507ED8 #6650D8
triadic
#507ED8 #D8507E #7ED850
tetradic
#507ED8 #D850C2 #D8AA50 #50D866
square
#507ED8 #D850C2 #D8AA50 #50D866
split-complementary
#507ED8 #D86650 #C2D850
monochromatic
#20458E #2B5DC0 #507ED8 #82A3E3 #B4C8EE

Accessibility & contrast

On white

3.95
#507ED8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#507ED8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507ED8
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507ED8#FFFFFF#000000##000000
##507ED81.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5587DC
Deuteranopia (green-blind)
#417AD6
Tritanopia (blue-blind)
#0092A0
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #507ed8;
/* rgb */ color: rgb(80, 126, 216);
/* oklch */ color: oklch(60.4% 0.146 262.5);
Tailwind
colors: {
  custom: {
    50: '#8da2e4',
    500: '#507ed8',
    950: '#000000',
  },
}
SCSS
$custom: #507ed8;
$custom-light: #8da2e4;
$custom-dark: #000000;
JSON
{
  "hex": "#507ed8",
  "rgb": {
    "r": 80,
    "g": 126,
    "b": 216
  },
  "hsl": {
    "h": 219.706,
    "s": 63.551,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60385,
    "c": 0.14631,
    "h": 262.5
  },
  "luminance": 0.21585
}

Semantic roles & 50–950 ramp

primary
#507ED8
secondary
#DDCBA7
accent
#AF41E7
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #507ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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