#504DE1#504DE1

#504DE1 is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 51.8% C 0.217 H 276.6°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#504DE1
RGBrgb(80, 77, 225)
HSLhsl(241, 71%, 59%)
HSVhsv(241, 66%, 88%)
CMYKcmyk(64.4%, 65.8%, 0%, 11.8%)
CIE-LABlab(41.92, 45.49, -74.86)
CIE-LCHlch(41.92, 87.59, 301.29°)
OKLaboklab(51.82% 0.0248 -0.216)
OKLCHoklch(51.82% 0.217 276.6)
XYZxyz(19.5483, 12.4478, 72.5921)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504DE1 #DEE14D
analogous
#4D94E1 #504DE1 #9A4DE1
triadic
#504DE1 #E1504D #4DE150
tetradic
#504DE1 #E14D94 #DEE14D #4DE19A
square
#504DE1 #E14D94 #DEE14D #4DE19A
split-complementary
#504DE1 #E19A4D #94E14D
monochromatic
#1C1A9A #2623CE #504DE1 #8381EA #B7B6F3

Accessibility & contrast

On white

6.02
#504DE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#504DE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504DE1
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504DE1#FFFFFF#000000##FFFFFF
##504DE11.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E6
Deuteranopia (green-blind)
#005CDE
Tritanopia (blue-blind)
#007490
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #504de1;
/* rgb */ color: rgb(80, 77, 225);
/* oklch */ color: oklch(51.8% 0.217 276.6);
Tailwind
colors: {
  custom: {
    50: '#9180ec',
    500: '#504de1',
    950: '#000000',
  },
}
SCSS
$custom: #504de1;
$custom-light: #9180ec;
$custom-dark: #000000;
JSON
{
  "hex": "#504de1",
  "rgb": {
    "r": 80,
    "g": 77,
    "b": 225
  },
  "hsl": {
    "h": 241.216,
    "s": 71.154,
    "l": 59.216
  },
  "oklch": {
    "l": 0.51824,
    "c": 0.21738,
    "h": 276.6
  },
  "luminance": 0.12449
}

Semantic roles & 50–950 ramp

primary
#504DE1
secondary
#E1E2A8
accent
#EE3AEA
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #504DE1

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

Preview Lab → · Contrast checker → · Palette generator →

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