#507DCE#507DCE

#507DCE is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.6% C 0.134 H 261.3°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#507DCE
RGBrgb(80, 125, 206)
HSLhsl(219, 56%, 56%)
HSVhsv(219, 61%, 81%)
CMYKcmyk(61.2%, 39.3%, 0%, 19.2%)
CIE-LABlab(52.76, 9.58, -46.55)
CIE-LCHlch(52.76, 47.53, 281.63°)
OKLaboklab(59.57% -0.0202 -0.1323)
OKLCHoklch(59.57% 0.134 261.3)
XYZxyz(21.7786, 20.8270, 61.2529)
Luminance0.2083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507DCE #CEA150
analogous
#50BCCE #507DCE #6250CE
triadic
#507DCE #CE507D #7DCE50
tetradic
#507DCE #CE50BC #CEA150 #50CE62
square
#507DCE #CE50BC #CEA150 #50CE62
split-complementary
#507DCE #CE6250 #BCCE50
monochromatic
#244580 #315EB0 #507DCE #80A1DB #B0C4E9

Accessibility & contrast

On white

4.07
#507DCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#507DCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507DCE
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507DCE#FFFFFF#000000##000000
##507DCE1.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A84D1
Deuteranopia (green-blind)
#4879CC
Tritanopia (blue-blind)
#008F9B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #507dce;
/* rgb */ color: rgb(80, 125, 206);
/* oklch */ color: oklch(59.6% 0.134 261.3);
Tailwind
colors: {
  custom: {
    50: '#8ca2dd',
    500: '#507dce',
    950: '#000000',
  },
}
SCSS
$custom: #507dce;
$custom-light: #8ca2dd;
$custom-dark: #000000;
JSON
{
  "hex": "#507dce",
  "rgb": {
    "r": 80,
    "g": 125,
    "b": 206
  },
  "hsl": {
    "h": 218.571,
    "s": 56.25,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59572,
    "c": 0.13384,
    "h": 261.3
  },
  "luminance": 0.20829
}

Semantic roles & 50–950 ramp

primary
#507DCE
secondary
#D7C4A3
accent
#AA48E0
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #507DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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