#504AED#504AED

#504AED is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.4% C 0.235 H 276.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#504AED
RGBrgb(80, 74, 237)
HSLhsl(242, 82%, 61%)
HSVhsv(242, 69%, 93%)
CMYKcmyk(66.2%, 68.8%, 0%, 7.1%)
CIE-LABlab(42.33, 51.02, -80.98)
CIE-LCHlch(42.33, 95.72, 302.21°)
OKLaboklab(52.44% 0.0254 -0.2339)
OKLCHoklch(52.44% 0.235 276.2)
XYZxyz(21.0381, 12.7156, 81.4500)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504AED #E7ED4A
analogous
#4A95ED #504AED #A24AED
triadic
#504AED #ED504A #4AED50
tetradic
#504AED #ED4A95 #E7ED4A #4AEDA2
square
#504AED #ED4A95 #E7ED4A #4AEDA2
split-complementary
#504AED #EDA24A #95ED4A
monochromatic
#1711AC #1E17E3 #504AED #8682F3 #BCB9F8

Accessibility & contrast

On white

5.93
#504AED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#504AED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504AED
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504AED#FFFFFF#000000##FFFFFF
##504AED1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BF2
Deuteranopia (green-blind)
#005DEA
Tritanopia (blue-blind)
#007696
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #504aed;
/* rgb */ color: rgb(80, 74, 237);
/* oklch */ color: oklch(52.4% 0.235 276.2);
Tailwind
colors: {
  custom: {
    50: '#947ef4',
    500: '#504aed',
    950: '#000000',
  },
}
SCSS
$custom: #504aed;
$custom-light: #947ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#504aed",
  "rgb": {
    "r": 80,
    "g": 74,
    "b": 237
  },
  "hsl": {
    "h": 242.209,
    "s": 81.91,
    "l": 60.98
  },
  "oklch": {
    "l": 0.5244,
    "c": 0.23526,
    "h": 276.2
  },
  "luminance": 0.12717
}

Semantic roles & 50–950 ramp

primary
#504AED
secondary
#E6E8AB
accent
#DE07D6
background
#FAF7FF
surface
#F3EEFE
border
#CDC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #504AED

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

Preview Lab → · Contrast checker → · Palette generator →

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