#504EE1#504EE1

#504EE1 is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.0% C 0.216 H 276.4°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#504EE1
RGBrgb(80, 78, 225)
HSLhsl(241, 71%, 59%)
HSVhsv(241, 65%, 88%)
CMYKcmyk(64.4%, 65.3%, 0%, 11.8%)
CIE-LABlab(42.14, 44.90, -74.50)
CIE-LCHlch(42.14, 86.99, 301.08°)
OKLaboklab(51.98% 0.0241 -0.2149)
OKLCHoklch(51.98% 0.216 276.4)
XYZxyz(19.6188, 12.5888, 72.6156)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504EE1 #DFE14E
analogous
#4E96E1 #504EE1 #994EE1
triadic
#504EE1 #E1504E #4EE150
tetradic
#504EE1 #E14E96 #DFE14E #4EE199
square
#504EE1 #E14E96 #DFE14E #4EE199
split-complementary
#504EE1 #E1994E #96E14E
monochromatic
#1C1A9A #2523CF #504EE1 #8482EA #B7B7F3

Accessibility & contrast

On white

5.97
#504EE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#504EE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504EE1
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504EE1#FFFFFF#000000##FFFFFF
##504EE11.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE6
Deuteranopia (green-blind)
#005DDE
Tritanopia (blue-blind)
#007491
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #504ee1;
/* rgb */ color: rgb(80, 78, 225);
/* oklch */ color: oklch(52.0% 0.216 276.4);
Tailwind
colors: {
  custom: {
    50: '#9180ec',
    500: '#504ee1',
    950: '#000000',
  },
}
SCSS
$custom: #504ee1;
$custom-light: #9180ec;
$custom-dark: #000000;
JSON
{
  "hex": "#504ee1",
  "rgb": {
    "r": 80,
    "g": 78,
    "b": 225
  },
  "hsl": {
    "h": 240.816,
    "s": 71.014,
    "l": 59.412
  },
  "oklch": {
    "l": 0.51982,
    "c": 0.21625,
    "h": 276.4
  },
  "luminance": 0.1259
}

Semantic roles & 50–950 ramp

primary
#504EE1
secondary
#E1E2A9
accent
#EE3AEB
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #504EE1

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

Preview Lab → · Contrast checker → · Palette generator →

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