#504ADD#504ADD

#504ADD is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 51.0% C 0.216 H 277.3°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#504ADD
RGBrgb(80, 74, 221)
HSLhsl(242, 68%, 58%)
HSVhsv(242, 67%, 87%)
CMYKcmyk(63.8%, 66.5%, 0%, 13.3%)
CIE-LABlab(40.93, 45.95, -74.20)
CIE-LCHlch(40.93, 87.27, 301.77°)
OKLaboklab(51% 0.0275 -0.214)
OKLCHoklch(51% 0.216 277.3)
XYZxyz(18.8040, 11.8219, 69.6835)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504ADD #D7DD4A
analogous
#4A8DDD #504ADD #994ADD
triadic
#504ADD #DD504A #4ADD50
tetradic
#504ADD #DD4A8D #D7DD4A #4ADD99
square
#504ADD #DD4A8D #D7DD4A #4ADD99
split-complementary
#504ADD #DD994A #8DDD4A
monochromatic
#201B91 #2B25C5 #504ADD #827EE7 #B4B1F0

Accessibility & contrast

On white

6.24
#504ADD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#504ADD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504ADD
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504ADD#FFFFFF#000000##FFFFFF
##504ADD1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E2
Deuteranopia (green-blind)
#005ADA
Tritanopia (blue-blind)
#00718D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #504add;
/* rgb */ color: rgb(80, 74, 221);
/* oklch */ color: oklch(51.0% 0.216 277.3);
Tailwind
colors: {
  custom: {
    50: '#917de9',
    500: '#504add',
    950: '#000000',
  },
}
SCSS
$custom: #504add;
$custom-light: #917de9;
$custom-dark: #000000;
JSON
{
  "hex": "#504add",
  "rgb": {
    "r": 80,
    "g": 74,
    "b": 221
  },
  "hsl": {
    "h": 242.449,
    "s": 68.372,
    "l": 57.843
  },
  "oklch": {
    "l": 0.51004,
    "c": 0.21578,
    "h": 277.3
  },
  "luminance": 0.11823
}

Semantic roles & 50–950 ramp

primary
#504ADD
secondary
#DCDFA4
accent
#EB3DE4
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #504ADD

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

Preview Lab → · Contrast checker → · Palette generator →

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