#504FE0#504FE0

#504FE0 is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.1% C 0.214 H 276.3°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#504FE0
RGBrgb(80, 79, 224)
HSLhsl(240, 70%, 59%)
HSVhsv(240, 65%, 88%)
CMYKcmyk(64.3%, 64.7%, 0%, 12.2%)
CIE-LABlab(42.27, 43.99, -73.71)
CIE-LCHlch(42.27, 85.84, 300.83°)
OKLaboklab(52.05% 0.0234 -0.2126)
OKLCHoklch(52.05% 0.214 276.3)
XYZxyz(19.5544, 12.6776, 71.9231)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504FE0 #DFE04F
analogous
#4F97E0 #504FE0 #994FE0
triadic
#504FE0 #E0504F #4FE050
tetradic
#504FE0 #E04F97 #DFE04F #4FE099
square
#504FE0 #E04F97 #DFE04F #4FE099
split-complementary
#504FE0 #E0994F #97E04F
monochromatic
#1C1B9A #2524CE #504FE0 #8483E9 #B7B7F2

Accessibility & contrast

On white

5.94
#504FE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#504FE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504FE0
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504FE0#FFFFFF#000000##FFFFFF
##504FE01.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE5
Deuteranopia (green-blind)
#005DDD
Tritanopia (blue-blind)
#007590
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #504fe0;
/* rgb */ color: rgb(80, 79, 224);
/* oklch */ color: oklch(52.1% 0.214 276.3);
Tailwind
colors: {
  custom: {
    50: '#9181eb',
    500: '#504fe0',
    950: '#000000',
  },
}
SCSS
$custom: #504fe0;
$custom-light: #9181eb;
$custom-dark: #000000;
JSON
{
  "hex": "#504fe0",
  "rgb": {
    "r": 80,
    "g": 79,
    "b": 224
  },
  "hsl": {
    "h": 240.414,
    "s": 70.048,
    "l": 59.412
  },
  "oklch": {
    "l": 0.52055,
    "c": 0.21388,
    "h": 276.3
  },
  "luminance": 0.12679
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #504FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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