#507CD5#507CD5

#507CD5 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.8% C 0.145 H 262.9°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#507CD5
RGBrgb(80, 124, 213)
HSLhsl(220, 61%, 57%)
HSVhsv(220, 62%, 84%)
CMYKcmyk(62.4%, 41.8%, 0%, 16.5%)
CIE-LABlab(52.86, 12.57, -50.35)
CIE-LCHlch(52.86, 51.89, 284.02°)
OKLaboklab(59.78% -0.0178 -0.1434)
OKLCHoklch(59.78% 0.145 262.9)
XYZxyz(22.5220, 20.9228, 65.7895)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507CD5 #D5A950
analogous
#50BFD5 #507CD5 #6650D5
triadic
#507CD5 #D5507C #7CD550
tetradic
#507CD5 #D550BF #D5A950 #50D566
square
#507CD5 #D550BF #D5A950 #50D566
split-complementary
#507CD5 #D56650 #BFD550
monochromatic
#21448A #2D5CBB #507CD5 #81A1E1 #B3C6ED

Accessibility & contrast

On white

4.05
#507CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#507CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507CD5
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507CD5#FFFFFF#000000##000000
##507CD51.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5485D8
Deuteranopia (green-blind)
#4079D3
Tritanopia (blue-blind)
#00909E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #507cd5;
/* rgb */ color: rgb(80, 124, 213);
/* oklch */ color: oklch(59.8% 0.145 262.9);
Tailwind
colors: {
  custom: {
    50: '#8da1e2',
    500: '#507cd5',
    950: '#000000',
  },
}
SCSS
$custom: #507cd5;
$custom-light: #8da1e2;
$custom-dark: #000000;
JSON
{
  "hex": "#507cd5",
  "rgb": {
    "r": 80,
    "g": 124,
    "b": 213
  },
  "hsl": {
    "h": 220.15,
    "s": 61.29,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59778,
    "c": 0.14455,
    "h": 262.9
  },
  "luminance": 0.20925
}

Semantic roles & 50–950 ramp

primary
#507CD5
secondary
#DBC9A6
accent
#AF43E4
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #507CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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