#504AD8#504AD8

#504AD8 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.6% C 0.210 H 277.7°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#504AD8
RGBrgb(80, 74, 216)
HSLhsl(243, 65%, 57%)
HSVhsv(243, 66%, 85%)
CMYKcmyk(63%, 65.7%, 0%, 15.3%)
CIE-LABlab(40.51, 44.35, -72.03)
CIE-LCHlch(40.51, 84.59, 301.62°)
OKLaboklab(50.57% 0.028 -0.2077)
OKLCHoklch(50.57% 0.21 277.7)
XYZxyz(18.1477, 11.5594, 66.2273)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504AD8 #D2D84A
analogous
#4A8BD8 #504AD8 #974AD8
triadic
#504AD8 #D8504A #4AD850
tetradic
#504AD8 #D84A8B #D2D84A #4AD897
square
#504AD8 #D84A8B #D2D84A #4AD897
split-complementary
#504AD8 #D8974A #8BD84A
monochromatic
#221E8A #2F29BC #504AD8 #817CE3 #B1AFEE

Accessibility & contrast

On white

6.34
#504AD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#504AD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504AD8
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504AD8#FFFFFF#000000##FFFFFF
##504AD81.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DC
Deuteranopia (green-blind)
#005AD5
Tritanopia (blue-blind)
#006F8B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #504ad8;
/* rgb */ color: rgb(80, 74, 216);
/* oklch */ color: oklch(50.6% 0.210 277.7);
Tailwind
colors: {
  custom: {
    50: '#907de5',
    500: '#504ad8',
    950: '#000000',
  },
}
SCSS
$custom: #504ad8;
$custom-light: #907de5;
$custom-dark: #000000;
JSON
{
  "hex": "#504ad8",
  "rgb": {
    "r": 80,
    "g": 74,
    "b": 216
  },
  "hsl": {
    "h": 242.535,
    "s": 64.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.50566,
    "c": 0.20956,
    "h": 277.7
  },
  "luminance": 0.11561
}

Semantic roles & 50–950 ramp

primary
#504AD8
secondary
#D9DCA2
accent
#E840E0
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #504AD8

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

Preview Lab → · Contrast checker → · Palette generator →

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