#504EE6#504EE6

#504EE6 is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.4% C 0.222 H 276.1°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#504EE6
RGBrgb(80, 78, 230)
HSLhsl(241, 75%, 60%)
HSVhsv(241, 66%, 90%)
CMYKcmyk(65.2%, 66.1%, 0%, 9.8%)
CIE-LABlab(42.56, 46.51, -76.65)
CIE-LCHlch(42.56, 89.66, 301.25°)
OKLaboklab(52.42% 0.0236 -0.2212)
OKLCHoklch(52.42% 0.222 276.1)
XYZxyz(20.3109, 12.8657, 76.2605)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504EE6 #E4E64E
analogous
#4E98E6 #504EE6 #9C4EE6
triadic
#504EE6 #E6504E #4EE650
tetradic
#504EE6 #E64E98 #E4E64E #4EE69C
square
#504EE6 #E64E98 #E4E64E #4EE69C
split-complementary
#504EE6 #E69C4E #98E64E
monochromatic
#1917A3 #211FD8 #504EE6 #8584EE #BAB9F5

Accessibility & contrast

On white

5.88
#504EE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#504EE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504EE6
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504EE6#FFFFFF#000000##FFFFFF
##504EE61.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEB
Deuteranopia (green-blind)
#005EE3
Tritanopia (blue-blind)
#007693
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #504ee6;
/* rgb */ color: rgb(80, 78, 230);
/* oklch */ color: oklch(52.4% 0.222 276.1);
Tailwind
colors: {
  custom: {
    50: '#9280ef',
    500: '#504ee6',
    950: '#000000',
  },
}
SCSS
$custom: #504ee6;
$custom-light: #9280ef;
$custom-dark: #000000;
JSON
{
  "hex": "#504ee6",
  "rgb": {
    "r": 80,
    "g": 78,
    "b": 230
  },
  "hsl": {
    "h": 240.789,
    "s": 75.248,
    "l": 60.392
  },
  "oklch": {
    "l": 0.52419,
    "c": 0.22245,
    "h": 276.1
  },
  "luminance": 0.12867
}

Semantic roles & 50–950 ramp

primary
#504EE6
secondary
#E4E5AB
accent
#D70ED5
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #504EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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