#504CAA#504CAA

#504CAA is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.2% C 0.146 H 281.1°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#504CAA
RGBrgb(80, 76, 170)
HSLhsl(243, 38%, 48%)
HSVhsv(243, 55%, 67%)
CMYKcmyk(52.9%, 55.3%, 0%, 33.3%)
CIE-LABlab(37.44, 28.24, -50.17)
CIE-LCHlch(37.44, 57.57, 299.38°)
OKLaboklab(47.2% 0.0282 -0.1434)
OKLCHoklch(47.2% 0.146 281.1)
XYZxyz(13.1462, 9.7759, 39.2166)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504CAA #A6AA4C
analogous
#4C77AA #504CAA #7F4CAA
triadic
#504CAA #AA504C #4CAA50
tetradic
#504CAA #AA4C77 #A6AA4C #4CAA7F
square
#504CAA #AA4C77 #A6AA4C #4CAA7F
split-complementary
#504CAA #AA7F4C #77AA4C
monochromatic
#282655 #3C3980 #504CAA #7673C0 #9F9DD3

Accessibility & contrast

On white

7.11
#504CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#504CAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504CAA
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504CAA#FFFFFF#000000##FFFFFF
##504CAA1.007.112.967.11
#FFFFFF7.111.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125CAD
Deuteranopia (green-blind)
#0055A8
Tritanopia (blue-blind)
#2A6173
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #504caa;
/* rgb */ color: rgb(80, 76, 170);
/* oklch */ color: oklch(47.2% 0.146 281.1);
Tailwind
colors: {
  custom: {
    50: '#887ec4',
    500: '#504caa',
    950: '#000000',
  },
}
SCSS
$custom: #504caa;
$custom-light: #887ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#504caa",
  "rgb": {
    "r": 80,
    "g": 76,
    "b": 170
  },
  "hsl": {
    "h": 242.553,
    "s": 38.211,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47204,
    "c": 0.14617,
    "h": 281.1
  },
  "luminance": 0.09777
}

Semantic roles & 50–950 ramp

primary
#504CAA
secondary
#BEC092
accent
#CE5AC9
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #504CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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