#504FC0#504FC0

#504FC0 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.4% C 0.172 H 278.4°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#504FC0
RGBrgb(80, 79, 192)
HSLhsl(241, 47%, 53%)
HSVhsv(241, 59%, 75%)
CMYKcmyk(58.3%, 58.9%, 0%, 24.7%)
CIE-LABlab(39.75, 33.54, -59.38)
CIE-LCHlch(39.75, 68.20, 299.46°)
OKLaboklab(49.42% 0.0253 -0.1705)
OKLCHoklch(49.42% 0.172 278.4)
XYZxyz(15.6156, 11.1021, 51.1790)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504FC0 #BFC04F
analogous
#4F86C0 #504FC0 #884FC0
triadic
#504FC0 #C0504F #4FC050
tetradic
#504FC0 #C04F86 #BFC04F #4FC088
square
#504FC0 #C04F86 #BFC04F #4FC088
split-complementary
#504FC0 #C0884F #86C04F
monochromatic
#28276D #38379A #504FC0 #7D7CD0 #AAA9E0

Accessibility & contrast

On white

6.52
#504FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#504FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504FC0
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504FC0#FFFFFF#000000##FFFFFF
##504FC01.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C4
Deuteranopia (green-blind)
#0059BE
Tritanopia (blue-blind)
#026A80
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #504fc0;
/* rgb */ color: rgb(80, 79, 192);
/* oklch */ color: oklch(49.4% 0.172 278.4);
Tailwind
colors: {
  custom: {
    50: '#8b80d4',
    500: '#504fc0',
    950: '#000000',
  },
}
SCSS
$custom: #504fc0;
$custom-light: #8b80d4;
$custom-dark: #000000;
JSON
{
  "hex": "#504fc0",
  "rgb": {
    "r": 80,
    "g": 79,
    "b": 192
  },
  "hsl": {
    "h": 240.531,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49421,
    "c": 0.17237,
    "h": 278.4
  },
  "luminance": 0.11103
}

Semantic roles & 50–950 ramp

primary
#504FC0
secondary
#CDCE9D
accent
#D751D6
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #504FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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