#504DE6#504DE6

#504DE6 is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.3% C 0.224 H 276.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#504DE6
RGBrgb(80, 77, 230)
HSLhsl(241, 75%, 60%)
HSVhsv(241, 67%, 90%)
CMYKcmyk(65.2%, 66.5%, 0%, 9.8%)
CIE-LABlab(42.35, 47.09, -77.00)
CIE-LCHlch(42.35, 90.26, 301.45°)
OKLaboklab(52.26% 0.0243 -0.2222)
OKLCHoklch(52.26% 0.224 276.2)
XYZxyz(20.2404, 12.7247, 76.2370)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504DE6 #E3E64D
analogous
#4D97E6 #504DE6 #9C4DE6
triadic
#504DE6 #E6504D #4DE650
tetradic
#504DE6 #E64D97 #E3E64D #4DE69C
square
#504DE6 #E64D97 #E3E64D #4DE69C
split-complementary
#504DE6 #E69C4D #97E64D
monochromatic
#1917A2 #221ED8 #504DE6 #8583EE #BAB8F5

Accessibility & contrast

On white

5.92
#504DE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#504DE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504DE6
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504DE6#FFFFFF#000000##FFFFFF
##504DE61.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #504de6;
/* rgb */ color: rgb(80, 77, 230);
/* oklch */ color: oklch(52.3% 0.224 276.2);
Tailwind
colors: {
  custom: {
    50: '#9280ef',
    500: '#504de6',
    950: '#000000',
  },
}
SCSS
$custom: #504de6;
$custom-light: #9280ef;
$custom-dark: #000000;
JSON
{
  "hex": "#504de6",
  "rgb": {
    "r": 80,
    "g": 77,
    "b": 230
  },
  "hsl": {
    "h": 241.176,
    "s": 75.369,
    "l": 60.196
  },
  "oklch": {
    "l": 0.52263,
    "c": 0.22356,
    "h": 276.2
  },
  "luminance": 0.12726
}

Semantic roles & 50–950 ramp

primary
#504DE6
secondary
#E4E5AA
accent
#D80ED4
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #504DE6

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

Preview Lab → · Contrast checker → · Palette generator →

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