#507DC2#507DC2

#507DC2 is a mid, moderate blue. Relative luminance 0.203; OKLCH L 58.9% C 0.117 H 258.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#507DC2
RGBrgb(80, 125, 194)
HSLhsl(216, 48%, 54%)
HSVhsv(216, 59%, 76%)
CMYKcmyk(58.8%, 35.6%, 0%, 23.9%)
CIE-LABlab(52.14, 5.56, -40.70)
CIE-LCHlch(52.14, 41.08, 277.77°)
OKLaboklab(58.89% -0.0231 -0.1152)
OKLCHoklch(58.89% 0.117 258.7)
XYZxyz(20.3761, 20.2660, 53.8664)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507DC2 #C29550
analogous
#50B6C2 #507DC2 #5C50C2
triadic
#507DC2 #C2507D #7DC250
tetradic
#507DC2 #C250B6 #C29550 #50C25C
square
#507DC2 #C250B6 #C29550 #50C25C
split-complementary
#507DC2 #C25C50 #B6C250
monochromatic
#274470 #37609E #507DC2 #7D9FD2 #ABC0E2

Accessibility & contrast

On white

4.16
#507DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#507DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #507DC2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507DC2#FFFFFF#000000##000000
##507DC21.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6082C5
Deuteranopia (green-blind)
#5177C1
Tritanopia (blue-blind)
#008C96
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #507dc2;
/* rgb */ color: rgb(80, 125, 194);
/* oklch */ color: oklch(58.9% 0.117 258.7);
Tailwind
colors: {
  custom: {
    50: '#8aa2d5',
    500: '#507dc2',
    950: '#000000',
  },
}
SCSS
$custom: #507dc2;
$custom-light: #8aa2d5;
$custom-dark: #000000;
JSON
{
  "hex": "#507dc2",
  "rgb": {
    "r": 80,
    "g": 125,
    "b": 194
  },
  "hsl": {
    "h": 216.316,
    "s": 48.305,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58885,
    "c": 0.11749,
    "h": 258.7
  },
  "luminance": 0.20268
}

Semantic roles & 50–950 ramp

primary
#507DC2
secondary
#CFBC9F
accent
#A250D8
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83

Preview Lab

Preview with #507DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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