#504EE0#504EE0

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

Color values

HEX#504EE0
RGBrgb(80, 78, 224)
HSLhsl(241, 70%, 59%)
HSVhsv(241, 65%, 88%)
CMYKcmyk(64.3%, 65.2%, 0%, 12.2%)
CIE-LABlab(42.05, 44.58, -74.07)
CIE-LCHlch(42.05, 86.45, 301.04°)
OKLaboklab(51.9% 0.0242 -0.2136)
OKLCHoklch(51.9% 0.215 276.5)
XYZxyz(19.4828, 12.5344, 71.8992)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504EE0 #DEE04E
analogous
#4E95E0 #504EE0 #994EE0
triadic
#504EE0 #E0504E #4EE050
tetradic
#504EE0 #E04E95 #DEE04E #4EE099
square
#504EE0 #E04E95 #DEE04E #4EE099
split-complementary
#504EE0 #E0994E #95E04E
monochromatic
#1C1B99 #2624CD #504EE0 #8382E9 #B7B6F2

Accessibility & contrast

On white

5.99
#504EE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#504EE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504EE0
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504EE0#FFFFFF#000000##FFFFFF
##504EE01.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #504ee0;
/* rgb */ color: rgb(80, 78, 224);
/* oklch */ color: oklch(51.9% 0.215 276.5);
Tailwind
colors: {
  custom: {
    50: '#9180eb',
    500: '#504ee0',
    950: '#000000',
  },
}
SCSS
$custom: #504ee0;
$custom-light: #9180eb;
$custom-dark: #000000;
JSON
{
  "hex": "#504ee0",
  "rgb": {
    "r": 80,
    "g": 78,
    "b": 224
  },
  "hsl": {
    "h": 240.822,
    "s": 70.192,
    "l": 59.216
  },
  "oklch": {
    "l": 0.51895,
    "c": 0.21501,
    "h": 276.5
  },
  "luminance": 0.12536
}

Semantic roles & 50–950 ramp

primary
#504EE0
secondary
#E1E1A8
accent
#ED3BEB
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #504EE0

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

Preview Lab → · Contrast checker → · Palette generator →

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