#504DE9#504DE9

#504DE9 is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.5% C 0.227 H 276.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#504DE9
RGBrgb(80, 77, 233)
HSLhsl(241, 78%, 61%)
HSVhsv(241, 67%, 91%)
CMYKcmyk(65.7%, 67%, 0%, 8.6%)
CIE-LABlab(42.60, 48.05, -78.28)
CIE-LCHlch(42.60, 91.85, 301.55°)
OKLaboklab(52.53% 0.0239 -0.226)
OKLCHoklch(52.53% 0.227 276)
XYZxyz(20.6653, 12.8946, 78.4749)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504DE9 #E6E94D
analogous
#4D98E9 #504DE9 #9E4DE9
triadic
#504DE9 #E9504D #4DE950
tetradic
#504DE9 #E94D98 #E6E94D #4DE99E
square
#504DE9 #E94D98 #E6E94D #4DE99E
split-complementary
#504DE9 #E99E4D #98E94D
monochromatic
#1715A7 #1F1BDD #504DE9 #8683F0 #BBBAF6

Accessibility & contrast

On white

5.87
#504DE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#504DE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504DE9
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504DE9#FFFFFF#000000##FFFFFF
##504DE91.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEE
Deuteranopia (green-blind)
#005EE6
Tritanopia (blue-blind)
#007795
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #504de9;
/* rgb */ color: rgb(80, 77, 233);
/* oklch */ color: oklch(52.5% 0.227 276.0);
Tailwind
colors: {
  custom: {
    50: '#9380f1',
    500: '#504de9',
    950: '#000000',
  },
}
SCSS
$custom: #504de9;
$custom-light: #9380f1;
$custom-dark: #000000;
JSON
{
  "hex": "#504de9",
  "rgb": {
    "r": 80,
    "g": 77,
    "b": 233
  },
  "hsl": {
    "h": 241.154,
    "s": 78,
    "l": 60.784
  },
  "oklch": {
    "l": 0.52529,
    "c": 0.22723,
    "h": 276
  },
  "luminance": 0.12896
}

Semantic roles & 50–950 ramp

primary
#504DE9
secondary
#E5E6AB
accent
#DA0BD6
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #504DE9

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

Preview Lab → · Contrast checker → · Palette generator →

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