#507CD7#507CD7

#507CD7 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.9% C 0.147 H 263.2°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#507CD7
RGBrgb(80, 124, 215)
HSLhsl(220, 63%, 58%)
HSVhsv(220, 63%, 84%)
CMYKcmyk(62.8%, 42.3%, 0%, 15.7%)
CIE-LABlab(52.98, 13.26, -51.30)
CIE-LCHlch(52.98, 52.99, 284.49°)
OKLaboklab(59.9% -0.0174 -0.1462)
OKLCHoklch(59.9% 0.147 263.2)
XYZxyz(22.7774, 21.0250, 67.1347)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507CD7 #D7AB50
analogous
#50C0D7 #507CD7 #6750D7
triadic
#507CD7 #D7507C #7CD750
tetradic
#507CD7 #D750C0 #D7AB50 #50D767
square
#507CD7 #D750C0 #D7AB50 #50D767
split-complementary
#507CD7 #D76750 #C0D750
monochromatic
#20438C #2B5BBE #507CD7 #82A1E2 #B4C7EE

Accessibility & contrast

On white

4.03
#507CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#507CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507CD7
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507CD7#FFFFFF#000000##000000
##507CD71.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5285DB
Deuteranopia (green-blind)
#3E79D5
Tritanopia (blue-blind)
#00919F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #507cd7;
/* rgb */ color: rgb(80, 124, 215);
/* oklch */ color: oklch(59.9% 0.147 263.2);
Tailwind
colors: {
  custom: {
    50: '#8da1e4',
    500: '#507cd7',
    950: '#000000',
  },
}
SCSS
$custom: #507cd7;
$custom-light: #8da1e4;
$custom-dark: #000000;
JSON
{
  "hex": "#507cd7",
  "rgb": {
    "r": 80,
    "g": 124,
    "b": 215
  },
  "hsl": {
    "h": 220.444,
    "s": 62.791,
    "l": 57.843
  },
  "oklch": {
    "l": 0.599,
    "c": 0.14727,
    "h": 263.2
  },
  "luminance": 0.21027
}

Semantic roles & 50–950 ramp

primary
#507CD7
secondary
#DCCBA6
accent
#B042E6
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E15
muted
#7E7E84

Preview Lab

Preview with #507CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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