#504CD0#504CD0

#504CD0 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 50.2% C 0.197 H 277.9°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#504CD0
RGBrgb(80, 76, 208)
HSLhsl(242, 58%, 56%)
HSVhsv(242, 63%, 82%)
CMYKcmyk(61.5%, 63.5%, 0%, 18.4%)
CIE-LABlab(40.29, 40.59, -67.78)
CIE-LCHlch(40.29, 79.01, 300.91°)
OKLaboklab(50.2% 0.0272 -0.1952)
OKLCHoklch(50.2% 0.197 277.9)
XYZxyz(17.2742, 11.4271, 60.9576)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504CD0 #CCD04C
analogous
#4C8AD0 #504CD0 #924CD0
triadic
#504CD0 #D0504C #4CD050
tetradic
#504CD0 #D04C8A #CCD04C #4CD092
square
#504CD0 #D04C8A #CCD04C #4CD092
split-complementary
#504CD0 #D0924C #8AD04C
monochromatic
#242280 #322EB0 #504CD0 #7F7CDD #AFADE9

Accessibility & contrast

On white

6.39
#504CD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#504CD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504CD0
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504CD0#FFFFFF#000000##FFFFFF
##504CD01.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D4
Deuteranopia (green-blind)
#0059CD
Tritanopia (blue-blind)
#006D87
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #504cd0;
/* rgb */ color: rgb(80, 76, 208);
/* oklch */ color: oklch(50.2% 0.197 277.9);
Tailwind
colors: {
  custom: {
    50: '#8e7edf',
    500: '#504cd0',
    950: '#000000',
  },
}
SCSS
$custom: #504cd0;
$custom-light: #8e7edf;
$custom-dark: #000000;
JSON
{
  "hex": "#504cd0",
  "rgb": {
    "r": 80,
    "g": 76,
    "b": 208
  },
  "hsl": {
    "h": 241.818,
    "s": 58.407,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50204,
    "c": 0.1971,
    "h": 277.9
  },
  "luminance": 0.11428
}

Semantic roles & 50–950 ramp

primary
#504CD0
secondary
#D6D7A0
accent
#E246DD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #504CD0

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

Preview Lab → · Contrast checker → · Palette generator →

#504CD0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva