#504ACC#504ACC

#504ACC is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.5% C 0.194 H 278.6°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#504ACC
RGBrgb(80, 74, 204)
HSLhsl(243, 56%, 55%)
HSVhsv(243, 64%, 80%)
CMYKcmyk(60.8%, 63.7%, 0%, 20%)
CIE-LABlab(39.52, 40.49, -66.74)
CIE-LCHlch(39.52, 78.06, 301.25°)
OKLaboklab(49.54% 0.0292 -0.1922)
OKLCHoklch(49.54% 0.194 278.6)
XYZxyz(16.6526, 10.9614, 58.3533)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504ACC #C6CC4A
analogous
#4A85CC #504ACC #914ACC
triadic
#504ACC #CC504A #4ACC50
tetradic
#504ACC #CC4A85 #C6CC4A #4ACC91
square
#504ACC #CC4A85 #C6CC4A #4ACC91
split-complementary
#504ACC #CC914A #85CC4A
monochromatic
#262279 #3530A9 #504ACC #7E7AD9 #ACA9E7

Accessibility & contrast

On white

6.58
#504ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#504ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504ACC
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504ACC#FFFFFF#000000##FFFFFF
##504ACC1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#0058C9
Tritanopia (blue-blind)
#006B84
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #504acc;
/* rgb */ color: rgb(80, 74, 204);
/* oklch */ color: oklch(49.5% 0.194 278.6);
Tailwind
colors: {
  custom: {
    50: '#8e7ddd',
    500: '#504acc',
    950: '#000000',
  },
}
SCSS
$custom: #504acc;
$custom-light: #8e7ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#504acc",
  "rgb": {
    "r": 80,
    "g": 74,
    "b": 204
  },
  "hsl": {
    "h": 242.769,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.49538,
    "c": 0.19436,
    "h": 278.6
  },
  "luminance": 0.10963
}

Semantic roles & 50–950 ramp

primary
#504ACC
secondary
#D2D49D
accent
#DF48D8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #504ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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