#504ACB#504ACB

#504ACB is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.5% C 0.193 H 278.7°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#504ACB
RGBrgb(80, 74, 203)
HSLhsl(243, 55%, 54%)
HSVhsv(243, 64%, 80%)
CMYKcmyk(60.6%, 63.5%, 0%, 20.4%)
CIE-LABlab(39.43, 40.17, -66.29)
CIE-LCHlch(39.43, 77.51, 301.21°)
OKLaboklab(49.45% 0.0293 -0.1908)
OKLCHoklch(49.45% 0.193 278.7)
XYZxyz(16.5331, 10.9136, 57.7236)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504ACB #C5CB4A
analogous
#4A85CB #504ACB #914ACB
triadic
#504ACB #CB504A #4ACB50
tetradic
#504ACB #CB4A85 #C5CB4A #4ACB91
square
#504ACB #CB4A85 #C5CB4A #4ACB91
split-complementary
#504ACB #CB914A #85CB4A
monochromatic
#262378 #3630A8 #504ACB #7E7AD9 #ACA9E6

Accessibility & contrast

On white

6.60
#504ACB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#504ACB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504ACB
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504ACB#FFFFFF#000000##FFFFFF
##504ACB1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #504acb;
/* rgb */ color: rgb(80, 74, 203);
/* oklch */ color: oklch(49.5% 0.193 278.7);
Tailwind
colors: {
  custom: {
    50: '#8e7ddc',
    500: '#504acb',
    950: '#000000',
  },
}
SCSS
$custom: #504acb;
$custom-light: #8e7ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#504acb",
  "rgb": {
    "r": 80,
    "g": 74,
    "b": 203
  },
  "hsl": {
    "h": 242.791,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.49454,
    "c": 0.19308,
    "h": 278.7
  },
  "luminance": 0.10915
}

Semantic roles & 50–950 ramp

primary
#504ACB
secondary
#D1D49D
accent
#DF49D8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #504ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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