#504BAD#504BAD

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

Color values

HEX#504BAD
RGBrgb(80, 75, 173)
HSLhsl(243, 40%, 49%)
HSVhsv(243, 57%, 68%)
CMYKcmyk(53.8%, 56.6%, 0%, 32.2%)
CIE-LABlab(37.40, 29.84, -52.01)
CIE-LCHlch(37.40, 59.97, 299.85°)
OKLaboklab(47.24% 0.0294 -0.1489)
OKLCHoklch(47.24% 0.152 281.2)
XYZxyz(13.3648, 9.7540, 40.7055)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504BAD #A8AD4B
analogous
#4B77AD #504BAD #814BAD
triadic
#504BAD #AD504B #4BAD50
tetradic
#504BAD #AD4B77 #A8AD4B #4BAD81
square
#504BAD #AD4B77 #A8AD4B #4BAD81
split-complementary
#504BAD #AD814B #77AD4B
monochromatic
#292658 #3C3882 #504BAD #7773C2 #A09ED5

Accessibility & contrast

On white

7.12
#504BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#504BAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504BAD
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504BAD#FFFFFF#000000##FFFFFF
##504BAD1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#025CB0
Deuteranopia (green-blind)
#0054AB
Tritanopia (blue-blind)
#276274
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #504bad;
/* rgb */ color: rgb(80, 75, 173);
/* oklch */ color: oklch(47.2% 0.152 281.2);
Tailwind
colors: {
  custom: {
    50: '#897dc6',
    500: '#504bad',
    950: '#000000',
  },
}
SCSS
$custom: #504bad;
$custom-light: #897dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#504bad",
  "rgb": {
    "r": 80,
    "g": 75,
    "b": 173
  },
  "hsl": {
    "h": 243.061,
    "s": 39.516,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47241,
    "c": 0.15174,
    "h": 281.2
  },
  "luminance": 0.09755
}

Semantic roles & 50–950 ramp

primary
#504BAD
secondary
#BFC192
accent
#CF58C9
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #504BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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