#504ABE#504ABE

#504ABE is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.4% C 0.176 H 279.8°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#504ABE
RGBrgb(80, 74, 190)
HSLhsl(243, 47%, 52%)
HSVhsv(243, 61%, 75%)
CMYKcmyk(57.9%, 61.1%, 0%, 25.5%)
CIE-LABlab(38.41, 35.97, -60.39)
CIE-LCHlch(38.41, 70.29, 300.78°)
OKLaboklab(48.39% 0.0301 -0.1735)
OKLCHoklch(48.39% 0.176 279.8)
XYZxyz(15.0484, 10.3197, 49.9041)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504ABE #B8BE4A
analogous
#4A7EBE #504ABE #8A4ABE
triadic
#504ABE #BE504A #4ABE50
tetradic
#504ABE #BE4A7E #B8BE4A #4ABE8A
square
#504ABE #BE4A7E #B8BE4A #4ABE8A
split-complementary
#504ABE #BE8A4A #7EBE4A
monochromatic
#292568 #3B3695 #504ABE #7C77CE #A7A4DE

Accessibility & contrast

On white

6.85
#504ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#504ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504ABE
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504ABE#FFFFFF#000000##FFFFFF
##504ABE1.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC2
Deuteranopia (green-blind)
#0056BC
Tritanopia (blue-blind)
#0B667D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #504abe;
/* rgb */ color: rgb(80, 74, 190);
/* oklch */ color: oklch(48.4% 0.176 279.8);
Tailwind
colors: {
  custom: {
    50: '#8b7dd2',
    500: '#504abe',
    950: '#000000',
  },
}
SCSS
$custom: #504abe;
$custom-light: #8b7dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#504abe",
  "rgb": {
    "r": 80,
    "g": 74,
    "b": 190
  },
  "hsl": {
    "h": 243.103,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.48385,
    "c": 0.1761,
    "h": 279.8
  },
  "luminance": 0.10321
}

Semantic roles & 50–950 ramp

primary
#504ABE
secondary
#C9CB98
accent
#D751D0
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #504ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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