#504ACA#504ACA

#504ACA is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.4% C 0.192 H 278.8°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#504ACA
RGBrgb(80, 74, 202)
HSLhsl(243, 55%, 54%)
HSVhsv(243, 63%, 79%)
CMYKcmyk(60.4%, 63.4%, 0%, 20.8%)
CIE-LABlab(39.35, 39.84, -65.84)
CIE-LCHlch(39.35, 76.96, 301.18°)
OKLaboklab(49.37% 0.0294 -0.1895)
OKLCHoklch(49.37% 0.192 278.8)
XYZxyz(16.4143, 10.8661, 57.0981)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504ACA #C4CA4A
analogous
#4A84CA #504ACA #904ACA
triadic
#504ACA #CA504A #4ACA50
tetradic
#504ACA #CA4A84 #C4CA4A #4ACA90
square
#504ACA #CA4A84 #C4CA4A #4ACA90
split-complementary
#504ACA #CA904A #84CA4A
monochromatic
#272377 #3631A6 #504ACA #7E79D8 #ACA9E6

Accessibility & contrast

On white

6.62
#504ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#504ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504ACA
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504ACA#FFFFFF#000000##FFFFFF
##504ACA1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#0058C7
Tritanopia (blue-blind)
#006A83
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #504aca;
/* rgb */ color: rgb(80, 74, 202);
/* oklch */ color: oklch(49.4% 0.192 278.8);
Tailwind
colors: {
  custom: {
    50: '#8e7ddb',
    500: '#504aca',
    950: '#000000',
  },
}
SCSS
$custom: #504aca;
$custom-light: #8e7ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#504aca",
  "rgb": {
    "r": 80,
    "g": 74,
    "b": 202
  },
  "hsl": {
    "h": 242.813,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49371,
    "c": 0.19179,
    "h": 278.8
  },
  "luminance": 0.10867
}

Semantic roles & 50–950 ramp

primary
#504ACA
secondary
#D1D39D
accent
#DE4AD7
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #504ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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