#504DC3#504DC3

#504DC3 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.3% C 0.179 H 278.7°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#504DC3
RGBrgb(80, 77, 195)
HSLhsl(242, 50%, 53%)
HSVhsv(242, 61%, 76%)
CMYKcmyk(59%, 60.5%, 0%, 23.5%)
CIE-LABlab(39.50, 35.75, -61.54)
CIE-LCHlch(39.50, 71.17, 300.16°)
OKLaboklab(49.31% 0.0271 -0.1769)
OKLCHoklch(49.31% 0.179 278.7)
XYZxyz(15.8093, 10.9522, 52.9001)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504DC3 #C0C34D
analogous
#4D85C3 #504DC3 #8B4DC3
triadic
#504DC3 #C3504D #4DC350
tetradic
#504DC3 #C34D85 #C0C34D #4DC38B
square
#504DC3 #C34D85 #C0C34D #4DC38B
split-complementary
#504DC3 #C38B4D #85C34D
monochromatic
#282670 #38359E #504DC3 #7D7BD2 #AAA9E2

Accessibility & contrast

On white

6.58
#504DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#504DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504DC3
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504DC3#FFFFFF#000000##FFFFFF
##504DC31.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C7
Deuteranopia (green-blind)
#0058C1
Tritanopia (blue-blind)
#006A80
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #504dc3;
/* rgb */ color: rgb(80, 77, 195);
/* oklch */ color: oklch(49.3% 0.179 278.7);
Tailwind
colors: {
  custom: {
    50: '#8c7fd6',
    500: '#504dc3',
    950: '#000000',
  },
}
SCSS
$custom: #504dc3;
$custom-light: #8c7fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#504dc3",
  "rgb": {
    "r": 80,
    "g": 77,
    "b": 195
  },
  "hsl": {
    "h": 241.525,
    "s": 49.58,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49306,
    "c": 0.17893,
    "h": 278.7
  },
  "luminance": 0.10953
}

Semantic roles & 50–950 ramp

primary
#504DC3
secondary
#CECF9D
accent
#D94FD6
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #504DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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