#504ADA#504ADA

#504ADA is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 50.7% C 0.212 H 277.5°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#504ADA
RGBrgb(80, 74, 218)
HSLhsl(243, 66%, 57%)
HSVhsv(243, 66%, 85%)
CMYKcmyk(63.3%, 66.1%, 0%, 14.5%)
CIE-LABlab(40.68, 44.99, -72.90)
CIE-LCHlch(40.68, 85.66, 301.68°)
OKLaboklab(50.74% 0.0278 -0.2102)
OKLCHoklch(50.74% 0.212 277.5)
XYZxyz(18.4078, 11.6635, 67.5973)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504ADA #D4DA4A
analogous
#4A8CDA #504ADA #984ADA
triadic
#504ADA #DA504A #4ADA50
tetradic
#504ADA #DA4A8C #D4DA4A #4ADA98
square
#504ADA #DA4A8C #D4DA4A #4ADA98
split-complementary
#504ADA #DA984A #8CDA4A
monochromatic
#211D8D #2E27C0 #504ADA #817DE4 #B2B0EF

Accessibility & contrast

On white

6.30
#504ADA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#504ADA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504ADA
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504ADA#FFFFFF#000000##FFFFFF
##504ADA1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DE
Deuteranopia (green-blind)
#005AD7
Tritanopia (blue-blind)
#00708C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #504ada;
/* rgb */ color: rgb(80, 74, 218);
/* oklch */ color: oklch(50.7% 0.212 277.5);
Tailwind
colors: {
  custom: {
    50: '#907de7',
    500: '#504ada',
    950: '#000000',
  },
}
SCSS
$custom: #504ada;
$custom-light: #907de7;
$custom-dark: #000000;
JSON
{
  "hex": "#504ada",
  "rgb": {
    "r": 80,
    "g": 74,
    "b": 218
  },
  "hsl": {
    "h": 242.5,
    "s": 66.055,
    "l": 57.255
  },
  "oklch": {
    "l": 0.50741,
    "c": 0.21206,
    "h": 277.5
  },
  "luminance": 0.11665
}

Semantic roles & 50–950 ramp

primary
#504ADA
secondary
#DBDDA3
accent
#E93FE2
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #504ADA

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

Preview Lab → · Contrast checker → · Palette generator →

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