#507DCF#507DCF

#507DCF is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.6% C 0.135 H 261.5°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#507DCF
RGBrgb(80, 125, 207)
HSLhsl(219, 57%, 56%)
HSVhsv(219, 61%, 81%)
CMYKcmyk(61.4%, 39.6%, 0%, 18.8%)
CIE-LABlab(52.81, 9.92, -47.03)
CIE-LCHlch(52.81, 48.07, 281.91°)
OKLaboklab(59.63% -0.02 -0.1337)
OKLCHoklch(59.63% 0.135 261.5)
XYZxyz(21.9004, 20.8757, 61.8947)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507DCF #CFA250
analogous
#50BDCF #507DCF #6350CF
triadic
#507DCF #CF507D #7DCF50
tetradic
#507DCF #CF50BD #CFA250 #50CF63
square
#507DCF #CF50BD #CFA250 #50CF63
split-complementary
#507DCF #CF6350 #BDCF50
monochromatic
#234581 #315EB1 #507DCF #80A1DC #B0C4E9

Accessibility & contrast

On white

4.06
#507DCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#507DCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507DCF
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507DCF#FFFFFF#000000##000000
##507DCF1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5984D2
Deuteranopia (green-blind)
#4779CD
Tritanopia (blue-blind)
#008F9C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #507dcf;
/* rgb */ color: rgb(80, 125, 207);
/* oklch */ color: oklch(59.6% 0.135 261.5);
Tailwind
colors: {
  custom: {
    50: '#8ca2de',
    500: '#507dcf',
    950: '#000000',
  },
}
SCSS
$custom: #507dcf;
$custom-light: #8ca2de;
$custom-dark: #000000;
JSON
{
  "hex": "#507dcf",
  "rgb": {
    "r": 80,
    "g": 125,
    "b": 207
  },
  "hsl": {
    "h": 218.74,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.59631,
    "c": 0.1352,
    "h": 261.5
  },
  "luminance": 0.20878
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #507DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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