#504DE0#504DE0

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

Color values

HEX#504DE0
RGBrgb(80, 77, 224)
HSLhsl(241, 70%, 59%)
HSVhsv(241, 66%, 88%)
CMYKcmyk(64.3%, 65.6%, 0%, 12.2%)
CIE-LABlab(41.83, 45.17, -74.43)
CIE-LCHlch(41.83, 87.06, 301.25°)
OKLaboklab(51.74% 0.0249 -0.2147)
OKLCHoklch(51.74% 0.216 276.6)
XYZxyz(19.4123, 12.3934, 71.8757)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504DE0 #DDE04D
analogous
#4D94E0 #504DE0 #994DE0
triadic
#504DE0 #E0504D #4DE050
tetradic
#504DE0 #E04D94 #DDE04D #4DE099
square
#504DE0 #E04D94 #DDE04D #4DE099
split-complementary
#504DE0 #E0994D #94E04D
monochromatic
#1D1A98 #2724CC #504DE0 #8381E9 #B6B5F2

Accessibility & contrast

On white

6.04
#504DE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#504DE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504DE0
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504DE0#FFFFFF#000000##FFFFFF
##504DE01.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E5
Deuteranopia (green-blind)
#005CDD
Tritanopia (blue-blind)
#007390
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #504de0;
/* rgb */ color: rgb(80, 77, 224);
/* oklch */ color: oklch(51.7% 0.216 276.6);
Tailwind
colors: {
  custom: {
    50: '#917feb',
    500: '#504de0',
    950: '#000000',
  },
}
SCSS
$custom: #504de0;
$custom-light: #917feb;
$custom-dark: #000000;
JSON
{
  "hex": "#504de0",
  "rgb": {
    "r": 80,
    "g": 77,
    "b": 224
  },
  "hsl": {
    "h": 241.224,
    "s": 70.335,
    "l": 59.02
  },
  "oklch": {
    "l": 0.51737,
    "c": 0.21614,
    "h": 276.6
  },
  "luminance": 0.12395
}

Semantic roles & 50–950 ramp

primary
#504DE0
secondary
#E0E1A8
accent
#ED3BE9
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #504DE0

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

Preview Lab → · Contrast checker → · Palette generator →

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