#507FD5#507FD5

#507FD5 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.4% C 0.141 H 261.5°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#507FD5
RGBrgb(80, 127, 213)
HSLhsl(219, 61%, 57%)
HSVhsv(219, 62%, 84%)
CMYKcmyk(62.4%, 40.4%, 0%, 16.5%)
CIE-LABlab(53.69, 10.74, -49.03)
CIE-LCHlch(53.69, 50.19, 282.36°)
OKLaboklab(60.42% -0.0208 -0.1395)
OKLCHoklch(60.42% 0.141 261.5)
XYZxyz(22.9037, 21.6862, 65.9167)
Luminance0.2169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507FD5 #D5A650
analogous
#50C1D5 #507FD5 #6450D5
triadic
#507FD5 #D5507F #7FD550
tetradic
#507FD5 #D550C1 #D5A650 #50D564
square
#507FD5 #D550C1 #D5A650 #50D564
split-complementary
#507FD5 #D56450 #C1D550
monochromatic
#21468A #2D5FBB #507FD5 #81A3E1 #B3C7ED

Accessibility & contrast

On white

3.93
#507FD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#507FD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507FD5
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507FD5#FFFFFF#000000##000000
##507FD51.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5987D8
Deuteranopia (green-blind)
#467BD3
Tritanopia (blue-blind)
#0092A0
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #507fd5;
/* rgb */ color: rgb(80, 127, 213);
/* oklch */ color: oklch(60.4% 0.141 261.5);
Tailwind
colors: {
  custom: {
    50: '#8da3e2',
    500: '#507fd5',
    950: '#000000',
  },
}
SCSS
$custom: #507fd5;
$custom-light: #8da3e2;
$custom-dark: #000000;
JSON
{
  "hex": "#507fd5",
  "rgb": {
    "r": 80,
    "g": 127,
    "b": 213
  },
  "hsl": {
    "h": 218.797,
    "s": 61.29,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60417,
    "c": 0.14109,
    "h": 261.5
  },
  "luminance": 0.21688
}

Semantic roles & 50–950 ramp

primary
#507FD5
secondary
#DBC8A6
accent
#AC43E4
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #507FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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