#504DE2#504DE2

#504DE2 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 51.9% C 0.219 H 276.5°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#504DE2
RGBrgb(80, 77, 226)
HSLhsl(241, 72%, 59%)
HSVhsv(241, 66%, 89%)
CMYKcmyk(64.6%, 65.9%, 0%, 11.4%)
CIE-LABlab(42.00, 45.81, -75.29)
CIE-LCHlch(42.00, 88.13, 301.32°)
OKLaboklab(51.91% 0.0247 -0.2172)
OKLCHoklch(51.91% 0.219 276.5)
XYZxyz(19.6851, 12.5025, 73.3126)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504DE2 #DFE24D
analogous
#4D95E2 #504DE2 #9B4DE2
triadic
#504DE2 #E2504D #4DE250
tetradic
#504DE2 #E24D95 #DFE24D #4DE29B
square
#504DE2 #E24D95 #DFE24D #4DE29B
split-complementary
#504DE2 #E29B4D #95E24D
monochromatic
#1C199B #2522D0 #504DE2 #8482EB #B7B6F3

Accessibility & contrast

On white

6.00
#504DE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#504DE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504DE2
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504DE2#FFFFFF#000000##FFFFFF
##504DE21.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #504de2;
/* rgb */ color: rgb(80, 77, 226);
/* oklch */ color: oklch(51.9% 0.219 276.5);
Tailwind
colors: {
  custom: {
    50: '#9280ec',
    500: '#504de2',
    950: '#000000',
  },
}
SCSS
$custom: #504de2;
$custom-light: #9280ec;
$custom-dark: #000000;
JSON
{
  "hex": "#504de2",
  "rgb": {
    "r": 80,
    "g": 77,
    "b": 226
  },
  "hsl": {
    "h": 241.208,
    "s": 71.981,
    "l": 59.412
  },
  "oklch": {
    "l": 0.51911,
    "c": 0.21862,
    "h": 276.5
  },
  "luminance": 0.12504
}

Semantic roles & 50–950 ramp

primary
#504DE2
secondary
#E1E2A8
accent
#EF39EB
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #504DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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