#504ABA#504ABA

#504ABA is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.1% C 0.171 H 280.2°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#504ABA
RGBrgb(80, 74, 186)
HSLhsl(243, 45%, 51%)
HSVhsv(243, 60%, 73%)
CMYKcmyk(57%, 60.2%, 0%, 27.1%)
CIE-LABlab(38.11, 34.67, -58.54)
CIE-LCHlch(38.11, 68.04, 300.64°)
OKLaboklab(48.07% 0.0303 -0.1681)
OKLCHoklch(48.07% 0.171 280.2)
XYZxyz(14.6172, 10.1472, 47.6332)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504ABA #B4BA4A
analogous
#4A7CBA #504ABA #884ABA
triadic
#504ABA #BA504A #4ABA50
tetradic
#504ABA #BA4A7C #B4BA4A #4ABA88
square
#504ABA #BA4A7C #B4BA4A #4ABA88
split-complementary
#504ABA #BA884A #7CBA4A
monochromatic
#292664 #3C3790 #504ABA #7B76CB #A6A3DC

Accessibility & contrast

On white

6.93
#504ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#504ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504ABA
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504ABA#FFFFFF#000000##FFFFFF
##504ABA1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#0055B8
Tritanopia (blue-blind)
#15657B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #504aba;
/* rgb */ color: rgb(80, 74, 186);
/* oklch */ color: oklch(48.1% 0.171 280.2);
Tailwind
colors: {
  custom: {
    50: '#8b7dd0',
    500: '#504aba',
    950: '#000000',
  },
}
SCSS
$custom: #504aba;
$custom-light: #8b7dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#504aba",
  "rgb": {
    "r": 80,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 243.214,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48065,
    "c": 0.17078,
    "h": 280.2
  },
  "luminance": 0.10148
}

Semantic roles & 50–950 ramp

primary
#504ABA
secondary
#C6C997
accent
#D553CE
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #504ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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