#504CE0#504CE0

#504CE0 is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.6% C 0.217 H 276.8°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#504CE0
RGBrgb(80, 76, 224)
HSLhsl(242, 70%, 59%)
HSVhsv(242, 66%, 88%)
CMYKcmyk(64.3%, 66.1%, 0%, 12.2%)
CIE-LABlab(41.62, 45.75, -74.78)
CIE-LCHlch(41.62, 87.67, 301.46°)
OKLaboklab(51.58% 0.0257 -0.2157)
OKLCHoklch(51.58% 0.217 276.8)
XYZxyz(19.3429, 12.2546, 71.8526)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504CE0 #DCE04C
analogous
#4C92E0 #504CE0 #9A4CE0
triadic
#504CE0 #E0504C #4CE050
tetradic
#504CE0 #E04C92 #DCE04C #4CE09A
square
#504CE0 #E04C92 #DCE04C #4CE09A
split-complementary
#504CE0 #E09A4C #92E04C
monochromatic
#1E1A97 #2823CC #504CE0 #8380E9 #B6B4F2

Accessibility & contrast

On white

6.08
#504CE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#504CE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504CE0
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504CE0#FFFFFF#000000##FFFFFF
##504CE01.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #504ce0;
/* rgb */ color: rgb(80, 76, 224);
/* oklch */ color: oklch(51.6% 0.217 276.8);
Tailwind
colors: {
  custom: {
    50: '#917feb',
    500: '#504ce0',
    950: '#000000',
  },
}
SCSS
$custom: #504ce0;
$custom-light: #917feb;
$custom-dark: #000000;
JSON
{
  "hex": "#504ce0",
  "rgb": {
    "r": 80,
    "g": 76,
    "b": 224
  },
  "hsl": {
    "h": 241.622,
    "s": 70.476,
    "l": 58.824
  },
  "oklch": {
    "l": 0.51579,
    "c": 0.21726,
    "h": 276.8
  },
  "luminance": 0.12256
}

Semantic roles & 50–950 ramp

primary
#504CE0
secondary
#DFE1A7
accent
#ED3BE8
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #504CE0

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

Preview Lab → · Contrast checker → · Palette generator →

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