#504DEA#504DEA

#504DEA is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.6% C 0.228 H 276.0°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#504DEA
RGBrgb(80, 77, 234)
HSLhsl(241, 79%, 61%)
HSVhsv(241, 67%, 92%)
CMYKcmyk(65.8%, 67.1%, 0%, 8.2%)
CIE-LABlab(42.69, 48.37, -78.70)
CIE-LCHlch(42.69, 92.38, 301.58°)
OKLaboklab(52.62% 0.0238 -0.2272)
OKLCHoklch(52.62% 0.228 276)
XYZxyz(20.8086, 12.9519, 79.2293)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504DEA #E7EA4D
analogous
#4D99EA #504DEA #9E4DEA
triadic
#504DEA #EA504D #4DEA50
tetradic
#504DEA #EA4D99 #E7EA4D #4DEA9E
square
#504DEA #EA4D99 #E7EA4D #4DEA9E
split-complementary
#504DEA #EA9E4D #99EA4D
monochromatic
#1714A9 #1E1ADF #504DEA #8684F0 #BCBAF7

Accessibility & contrast

On white

5.85
#504DEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#504DEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504DEA
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504DEA#FFFFFF#000000##FFFFFF
##504DEA1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEF
Deuteranopia (green-blind)
#005EE7
Tritanopia (blue-blind)
#007795
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #504dea;
/* rgb */ color: rgb(80, 77, 234);
/* oklch */ color: oklch(52.6% 0.228 276.0);
Tailwind
colors: {
  custom: {
    50: '#9380f2',
    500: '#504dea',
    950: '#000000',
  },
}
SCSS
$custom: #504dea;
$custom-light: #9380f2;
$custom-dark: #000000;
JSON
{
  "hex": "#504dea",
  "rgb": {
    "r": 80,
    "g": 77,
    "b": 234
  },
  "hsl": {
    "h": 241.146,
    "s": 78.894,
    "l": 60.98
  },
  "oklch": {
    "l": 0.52619,
    "c": 0.22845,
    "h": 276
  },
  "luminance": 0.12954
}

Semantic roles & 50–950 ramp

primary
#504DEA
secondary
#E6E7AC
accent
#DB0AD7
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #504DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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