#507CD6#507CD6

#507CD6 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.8% C 0.146 H 263.1°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#507CD6
RGBrgb(80, 124, 214)
HSLhsl(220, 62%, 58%)
HSVhsv(220, 63%, 84%)
CMYKcmyk(62.6%, 42.1%, 0%, 16.1%)
CIE-LABlab(52.92, 12.91, -50.82)
CIE-LCHlch(52.92, 52.44, 284.26°)
OKLaboklab(59.84% -0.0176 -0.1448)
OKLCHoklch(59.84% 0.146 263.1)
XYZxyz(22.6493, 20.9738, 66.4600)
Luminance0.2098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507CD6 #D6AA50
analogous
#50BFD6 #507CD6 #6750D6
triadic
#507CD6 #D6507C #7CD650
tetradic
#507CD6 #D650BF #D6AA50 #50D667
square
#507CD6 #D650BF #D6AA50 #50D667
split-complementary
#507CD6 #D66750 #BFD650
monochromatic
#21448B #2C5CBD #507CD6 #82A1E2 #B3C6ED

Accessibility & contrast

On white

4.04
#507CD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#507CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507CD6
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507CD6#FFFFFF#000000##000000
##507CD61.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5385D9
Deuteranopia (green-blind)
#3F79D4
Tritanopia (blue-blind)
#00909E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #507cd6;
/* rgb */ color: rgb(80, 124, 214);
/* oklch */ color: oklch(59.8% 0.146 263.1);
Tailwind
colors: {
  custom: {
    50: '#8da1e3',
    500: '#507cd6',
    950: '#000000',
  },
}
SCSS
$custom: #507cd6;
$custom-light: #8da1e3;
$custom-dark: #000000;
JSON
{
  "hex": "#507cd6",
  "rgb": {
    "r": 80,
    "g": 124,
    "b": 214
  },
  "hsl": {
    "h": 220.299,
    "s": 62.037,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59839,
    "c": 0.1459,
    "h": 263.1
  },
  "luminance": 0.20976
}

Semantic roles & 50–950 ramp

primary
#507CD6
secondary
#DCCAA6
accent
#B043E5
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #507CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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