#507FD7#507FD7

#507FD7 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.5% C 0.144 H 261.8°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#507FD7
RGBrgb(80, 127, 215)
HSLhsl(219, 63%, 58%)
HSVhsv(219, 63%, 84%)
CMYKcmyk(62.8%, 40.9%, 0%, 15.7%)
CIE-LABlab(53.80, 11.42, -49.99)
CIE-LCHlch(53.80, 51.27, 282.87°)
OKLaboklab(60.54% -0.0204 -0.1423)
OKLCHoklch(60.54% 0.144 261.8)
XYZxyz(23.1591, 21.7884, 67.2619)
Luminance0.2179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507FD7 #D7A850
analogous
#50C3D7 #507FD7 #6450D7
triadic
#507FD7 #D7507F #7FD750
tetradic
#507FD7 #D750C3 #D7A850 #50D764
square
#507FD7 #D750C3 #D7A850 #50D764
split-complementary
#507FD7 #D76450 #C3D750
monochromatic
#20468C #2B5FBE #507FD7 #82A3E2 #B4C8EE

Accessibility & contrast

On white

3.92
#507FD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#507FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507FD7
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507FD7#FFFFFF#000000##000000
##507FD71.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5787DA
Deuteranopia (green-blind)
#447BD5
Tritanopia (blue-blind)
#0093A0
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #507fd7;
/* rgb */ color: rgb(80, 127, 215);
/* oklch */ color: oklch(60.5% 0.144 261.8);
Tailwind
colors: {
  custom: {
    50: '#8da3e4',
    500: '#507fd7',
    950: '#000000',
  },
}
SCSS
$custom: #507fd7;
$custom-light: #8da3e4;
$custom-dark: #000000;
JSON
{
  "hex": "#507fd7",
  "rgb": {
    "r": 80,
    "g": 127,
    "b": 215
  },
  "hsl": {
    "h": 219.111,
    "s": 62.791,
    "l": 57.843
  },
  "oklch": {
    "l": 0.60537,
    "c": 0.1438,
    "h": 261.8
  },
  "luminance": 0.21791
}

Semantic roles & 50–950 ramp

primary
#507FD7
secondary
#DCCAA6
accent
#AD42E6
background
#F9FAFE
surface
#F1F3FC
border
#CBCDD5
text
#0D0F15
muted
#7E7F84

Preview Lab

Preview with #507FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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