#504AE3#504AE3

#504AE3 is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.5% C 0.223 H 276.9°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#504AE3
RGBrgb(80, 74, 227)
HSLhsl(242, 73%, 59%)
HSVhsv(242, 67%, 89%)
CMYKcmyk(64.8%, 67.4%, 0%, 11%)
CIE-LABlab(41.45, 47.86, -76.77)
CIE-LCHlch(41.45, 90.46, 301.94°)
OKLaboklab(51.54% 0.0267 -0.2215)
OKLCHoklch(51.54% 0.223 276.9)
XYZxyz(19.6177, 12.1474, 73.9690)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504AE3 #DDE34A
analogous
#4A91E3 #504AE3 #9D4AE3
triadic
#504AE3 #E3504A #4AE350
tetradic
#504AE3 #E34A91 #DDE34A #4AE39D
square
#504AE3 #E34A91 #DDE34A #4AE39D
split-complementary
#504AE3 #E39D4A #91E34A
monochromatic
#1D189B #2720D0 #504AE3 #837FEB #B6B4F3

Accessibility & contrast

On white

6.12
#504AE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#504AE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504AE3
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504AE3#FFFFFF#000000##FFFFFF
##504AE31.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E8
Deuteranopia (green-blind)
#005BE0
Tritanopia (blue-blind)
#007391
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #504ae3;
/* rgb */ color: rgb(80, 74, 227);
/* oklch */ color: oklch(51.5% 0.223 276.9);
Tailwind
colors: {
  custom: {
    50: '#927eed',
    500: '#504ae3',
    950: '#000000',
  },
}
SCSS
$custom: #504ae3;
$custom-light: #927eed;
$custom-dark: #000000;
JSON
{
  "hex": "#504ae3",
  "rgb": {
    "r": 80,
    "g": 74,
    "b": 227
  },
  "hsl": {
    "h": 242.353,
    "s": 73.206,
    "l": 59.02
  },
  "oklch": {
    "l": 0.51537,
    "c": 0.22315,
    "h": 276.9
  },
  "luminance": 0.12149
}

Semantic roles & 50–950 ramp

primary
#504AE3
secondary
#E0E2A6
accent
#F038E9
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #504AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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