#504ADC#504ADC

#504ADC is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 50.9% C 0.215 H 277.4°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#504ADC
RGBrgb(80, 74, 220)
HSLhsl(242, 68%, 58%)
HSVhsv(242, 66%, 86%)
CMYKcmyk(63.6%, 66.4%, 0%, 13.7%)
CIE-LABlab(40.85, 45.63, -73.76)
CIE-LCHlch(40.85, 86.74, 301.74°)
OKLaboklab(50.92% 0.0276 -0.2128)
OKLCHoklch(50.92% 0.215 277.4)
XYZxyz(18.6711, 11.7688, 68.9839)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504ADC #D6DC4A
analogous
#4A8DDC #504ADC #994ADC
triadic
#504ADC #DC504A #4ADC50
tetradic
#504ADC #DC4A8D #D6DC4A #4ADC99
square
#504ADC #DC4A8D #D6DC4A #4ADC99
split-complementary
#504ADC #DC994A #8DDC4A
monochromatic
#211C90 #2C26C3 #504ADC #827DE6 #B3B1F0

Accessibility & contrast

On white

6.26
#504ADC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#504ADC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504ADC
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504ADC#FFFFFF#000000##FFFFFF
##504ADC1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E1
Deuteranopia (green-blind)
#005AD9
Tritanopia (blue-blind)
#00708D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #504adc;
/* rgb */ color: rgb(80, 74, 220);
/* oklch */ color: oklch(50.9% 0.215 277.4);
Tailwind
colors: {
  custom: {
    50: '#917de8',
    500: '#504adc',
    950: '#000000',
  },
}
SCSS
$custom: #504adc;
$custom-light: #917de8;
$custom-dark: #000000;
JSON
{
  "hex": "#504adc",
  "rgb": {
    "r": 80,
    "g": 74,
    "b": 220
  },
  "hsl": {
    "h": 242.466,
    "s": 67.593,
    "l": 57.647
  },
  "oklch": {
    "l": 0.50916,
    "c": 0.21454,
    "h": 277.4
  },
  "luminance": 0.1177
}

Semantic roles & 50–950 ramp

primary
#504ADC
secondary
#DCDEA4
accent
#EA3DE3
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #504ADC

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

Preview Lab → · Contrast checker → · Palette generator →

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