#504EED#504EED

#504EED is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 53.0% C 0.231 H 275.6°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#504EED
RGBrgb(80, 78, 237)
HSLhsl(241, 82%, 62%)
HSVhsv(241, 67%, 93%)
CMYKcmyk(66.2%, 67.1%, 0%, 7.1%)
CIE-LABlab(43.16, 48.76, -79.62)
CIE-LCHlch(43.16, 93.36, 301.48°)
OKLaboklab(53.04% 0.0227 -0.2299)
OKLCHoklch(53.04% 0.231 275.6)
XYZxyz(21.3137, 13.2668, 81.5419)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504EED #EBED4E
analogous
#4E9CED #504EED #A04EED
triadic
#504EED #ED504E #4EED50
tetradic
#504EED #ED4E9C #EBED4E #4EEDA0
square
#504EED #ED4E9C #EBED4E #4EEDA0
split-complementary
#504EED #EDA04E #9CED4E
monochromatic
#1412AF #1A17E6 #504EED #8786F3 #BEBDF8

Accessibility & contrast

On white

5.75
#504EED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#504EED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504EED
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504EED#FFFFFF#000000##FFFFFF
##504EED1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DF2
Deuteranopia (green-blind)
#005FEA
Tritanopia (blue-blind)
#007997
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #504eed;
/* rgb */ color: rgb(80, 78, 237);
/* oklch */ color: oklch(53.0% 0.231 275.6);
Tailwind
colors: {
  custom: {
    50: '#9480f4',
    500: '#504eed',
    950: '#000000',
  },
}
SCSS
$custom: #504eed;
$custom-light: #9480f4;
$custom-dark: #000000;
JSON
{
  "hex": "#504eed",
  "rgb": {
    "r": 80,
    "g": 78,
    "b": 237
  },
  "hsl": {
    "h": 240.755,
    "s": 81.538,
    "l": 61.765
  },
  "oklch": {
    "l": 0.53039,
    "c": 0.23102,
    "h": 275.6
  },
  "luminance": 0.13269
}

Semantic roles & 50–950 ramp

primary
#504EED
secondary
#E8E9AE
accent
#DE08DB
background
#FAF7FF
surface
#F3EEFE
border
#CDC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #504EED

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

Preview Lab → · Contrast checker → · Palette generator →

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