#507DC0#507DC0

#507DC0 is a mid, moderate blue. Relative luminance 0.202; OKLCH L 58.8% C 0.115 H 258.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#507DC0
RGBrgb(80, 125, 192)
HSLhsl(216, 47%, 53%)
HSVhsv(216, 58%, 75%)
CMYKcmyk(58.3%, 34.9%, 0%, 24.7%)
CIE-LABlab(52.04, 4.89, -39.72)
CIE-LCHlch(52.04, 40.02, 277.02°)
OKLaboklab(58.77% -0.0236 -0.1123)
OKLCHoklch(58.77% 0.115 258.1)
XYZxyz(20.1530, 20.1768, 52.6914)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507DC0 #C09350
analogous
#50B5C0 #507DC0 #5B50C0
triadic
#507DC0 #C0507D #7DC050
tetradic
#507DC0 #C050B5 #C09350 #50C05B
square
#507DC0 #C050B5 #C09350 #50C05B
split-complementary
#507DC0 #C05B50 #B5C050
monochromatic
#28446E #38609B #507DC0 #7D9ED0 #AAC0E0

Accessibility & contrast

On white

4.17
#507DC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#507DC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507DC0
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507DC0#FFFFFF#000000##000000
##507DC01.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6182C3
Deuteranopia (green-blind)
#5377BF
Tritanopia (blue-blind)
#008C95
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #507dc0;
/* rgb */ color: rgb(80, 125, 192);
/* oklch */ color: oklch(58.8% 0.115 258.1);
Tailwind
colors: {
  custom: {
    50: '#8aa2d3',
    500: '#507dc0',
    950: '#000000',
  },
}
SCSS
$custom: #507dc0;
$custom-light: #8aa2d3;
$custom-dark: #000000;
JSON
{
  "hex": "#507dc0",
  "rgb": {
    "r": 80,
    "g": 125,
    "b": 192
  },
  "hsl": {
    "h": 215.893,
    "s": 47.059,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58774,
    "c": 0.11477,
    "h": 258.1
  },
  "luminance": 0.20178
}

Semantic roles & 50–950 ramp

primary
#507DC0
secondary
#CEBB9E
accent
#A151D7
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83

Preview Lab

Preview with #507DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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