#504ACD#504ACD

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

Color values

HEX#504ACD
RGBrgb(80, 74, 205)
HSLhsl(243, 57%, 55%)
HSVhsv(243, 64%, 80%)
CMYKcmyk(61%, 63.9%, 0%, 19.6%)
CIE-LABlab(39.60, 40.81, -67.18)
CIE-LCHlch(39.60, 78.61, 301.28°)
OKLaboklab(49.62% 0.0291 -0.1935)
OKLCHoklch(49.62% 0.196 278.6)
XYZxyz(16.7730, 11.0095, 58.9869)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504ACD #C7CD4A
analogous
#4A86CD #504ACD #924ACD
triadic
#504ACD #CD504A #4ACD50
tetradic
#504ACD #CD4A86 #C7CD4A #4ACD92
square
#504ACD #CD4A86 #C7CD4A #4ACD92
split-complementary
#504ACD #CD924A #86CD4A
monochromatic
#26227B #352FAB #504ACD #7E7ADA #ADAAE7

Accessibility & contrast

On white

6.56
#504ACD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#504ACD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504ACD
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504ACD#FFFFFF#000000##FFFFFF
##504ACD1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#0058CA
Tritanopia (blue-blind)
#006B85
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #504acd;
/* rgb */ color: rgb(80, 74, 205);
/* oklch */ color: oklch(49.6% 0.196 278.6);
Tailwind
colors: {
  custom: {
    50: '#8e7ddd',
    500: '#504acd',
    950: '#000000',
  },
}
SCSS
$custom: #504acd;
$custom-light: #8e7ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#504acd",
  "rgb": {
    "r": 80,
    "g": 74,
    "b": 205
  },
  "hsl": {
    "h": 242.748,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.49623,
    "c": 0.19565,
    "h": 278.6
  },
  "luminance": 0.11011
}

Semantic roles & 50–950 ramp

primary
#504ACD
secondary
#D2D59E
accent
#E048D9
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #504ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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