#504CC0#504CC0

#504CC0 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.9% C 0.176 H 279.2°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#504CC0
RGBrgb(80, 76, 192)
HSLhsl(242, 48%, 53%)
HSVhsv(242, 60%, 75%)
CMYKcmyk(58.3%, 60.4%, 0%, 24.7%)
CIE-LABlab(39.03, 35.39, -60.55)
CIE-LCHlch(39.03, 70.13, 300.31°)
OKLaboklab(48.89% 0.0281 -0.1739)
OKLCHoklch(48.89% 0.176 279.2)
XYZxyz(15.4041, 10.6790, 51.1085)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504CC0 #BCC04C
analogous
#4C82C0 #504CC0 #8A4CC0
triadic
#504CC0 #C0504C #4CC050
tetradic
#504CC0 #C04C82 #BCC04C #4CC08A
square
#504CC0 #C04C82 #BCC04C #4CC08A
split-complementary
#504CC0 #C08A4C #82C04C
monochromatic
#28266C #393699 #504CC0 #7C79D0 #A9A7E0

Accessibility & contrast

On white

6.70
#504CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#504CC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504CC0
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504CC0#FFFFFF#000000##FFFFFF
##504CC01.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C4
Deuteranopia (green-blind)
#0057BE
Tritanopia (blue-blind)
#03687F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #504cc0;
/* rgb */ color: rgb(80, 76, 192);
/* oklch */ color: oklch(48.9% 0.176 279.2);
Tailwind
colors: {
  custom: {
    50: '#8c7ed4',
    500: '#504cc0',
    950: '#000000',
  },
}
SCSS
$custom: #504cc0;
$custom-light: #8c7ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#504cc0",
  "rgb": {
    "r": 80,
    "g": 76,
    "b": 192
  },
  "hsl": {
    "h": 242.069,
    "s": 47.934,
    "l": 52.549
  },
  "oklch": {
    "l": 0.48892,
    "c": 0.17621,
    "h": 279.2
  },
  "luminance": 0.1068
}

Semantic roles & 50–950 ramp

primary
#504CC0
secondary
#CBCD9B
accent
#D850D3
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #504CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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