#504AD9#504AD9

#504AD9 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.7% C 0.211 H 277.6°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#504AD9
RGBrgb(80, 74, 217)
HSLhsl(243, 65%, 57%)
HSVhsv(243, 66%, 85%)
CMYKcmyk(63.1%, 65.9%, 0%, 14.9%)
CIE-LABlab(40.59, 44.67, -72.46)
CIE-LCHlch(40.59, 85.13, 301.65°)
OKLaboklab(50.65% 0.0279 -0.2089)
OKLCHoklch(50.65% 0.211 277.6)
XYZxyz(18.2774, 11.6113, 66.9102)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504AD9 #D3D94A
analogous
#4A8CD9 #504AD9 #974AD9
triadic
#504AD9 #D9504A #4AD950
tetradic
#504AD9 #D94A8C #D3D94A #4AD997
square
#504AD9 #D94A8C #D3D94A #4AD997
split-complementary
#504AD9 #D9974A #8CD94A
monochromatic
#221D8B #2E28BE #504AD9 #817DE4 #B2AFEE

Accessibility & contrast

On white

6.32
#504AD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#504AD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504AD9
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504AD9#FFFFFF#000000##FFFFFF
##504AD91.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DD
Deuteranopia (green-blind)
#005AD6
Tritanopia (blue-blind)
#006F8B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #504ad9;
/* rgb */ color: rgb(80, 74, 217);
/* oklch */ color: oklch(50.7% 0.211 277.6);
Tailwind
colors: {
  custom: {
    50: '#907de6',
    500: '#504ad9',
    950: '#000000',
  },
}
SCSS
$custom: #504ad9;
$custom-light: #907de6;
$custom-dark: #000000;
JSON
{
  "hex": "#504ad9",
  "rgb": {
    "r": 80,
    "g": 74,
    "b": 217
  },
  "hsl": {
    "h": 242.517,
    "s": 65.297,
    "l": 57.059
  },
  "oklch": {
    "l": 0.50653,
    "c": 0.21081,
    "h": 277.6
  },
  "luminance": 0.11613
}

Semantic roles & 50–950 ramp

primary
#504AD9
secondary
#DADCA2
accent
#E840E1
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #504AD9

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

Preview Lab → · Contrast checker → · Palette generator →

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