#504EDE#504EDE

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

Color values

HEX#504EDE
RGBrgb(80, 78, 222)
HSLhsl(241, 69%, 59%)
HSVhsv(241, 65%, 87%)
CMYKcmyk(64%, 64.9%, 0%, 12.9%)
CIE-LABlab(41.89, 43.93, -73.20)
CIE-LCHlch(41.89, 85.37, 300.97°)
OKLaboklab(51.72% 0.0244 -0.2111)
OKLCHoklch(51.72% 0.213 276.6)
XYZxyz(19.2132, 12.4266, 70.4791)
Luminance0.1243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504EDE #DCDE4E
analogous
#4E94DE #504EDE #984EDE
triadic
#504EDE #DE504E #4EDE50
tetradic
#504EDE #DE4E94 #DCDE4E #4EDE98
square
#504EDE #DE4E94 #DCDE4E #4EDE98
split-complementary
#504EDE #DE984E #94DE4E
monochromatic
#1E1C96 #2826C9 #504EDE #8382E8 #B6B5F1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##504EDE#FFFFFF#000000##FFFFFF
##504EDE1.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)
#0069E3
Deuteranopia (green-blind)
#005DDB
Tritanopia (blue-blind)
#00738F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #504ede;
/* rgb */ color: rgb(80, 78, 222);
/* oklch */ color: oklch(51.7% 0.213 276.6);
Tailwind
colors: {
  custom: {
    50: '#9180e9',
    500: '#504ede',
    950: '#000000',
  },
}
SCSS
$custom: #504ede;
$custom-light: #9180e9;
$custom-dark: #000000;
JSON
{
  "hex": "#504ede",
  "rgb": {
    "r": 80,
    "g": 78,
    "b": 222
  },
  "hsl": {
    "h": 240.833,
    "s": 68.571,
    "l": 58.824
  },
  "oklch": {
    "l": 0.51722,
    "c": 0.21251,
    "h": 276.6
  },
  "luminance": 0.12428
}

Semantic roles & 50–950 ramp

primary
#504EDE
secondary
#DFE0A8
accent
#EB3CE9
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #504EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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