#504ABF#504ABF

#504ABF is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.5% C 0.177 H 279.8°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#504ABF
RGBrgb(80, 74, 191)
HSLhsl(243, 48%, 52%)
HSVhsv(243, 61%, 75%)
CMYKcmyk(58.1%, 61.3%, 0%, 25.1%)
CIE-LABlab(38.49, 36.29, -60.85)
CIE-LCHlch(38.49, 70.85, 300.81°)
OKLaboklab(48.47% 0.0301 -0.1749)
OKLCHoklch(48.47% 0.177 279.8)
XYZxyz(15.1580, 10.3636, 50.4817)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504ABF #B9BF4A
analogous
#4A7FBF #504ABF #8B4ABF
triadic
#504ABF #BF504A #4ABF50
tetradic
#504ABF #BF4A7F #B9BF4A #4ABF8B
square
#504ABF #BF4A7F #B9BF4A #4ABF8B
split-complementary
#504ABF #BF8B4A #7FBF4A
monochromatic
#292569 #3A3597 #504ABF #7C77CF #A7A4DF

Accessibility & contrast

On white

6.83
#504ABF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#504ABF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504ABF
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504ABF#FFFFFF#000000##FFFFFF
##504ABF1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#0056BD
Tritanopia (blue-blind)
#08677D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #504abf;
/* rgb */ color: rgb(80, 74, 191);
/* oklch */ color: oklch(48.5% 0.177 279.8);
Tailwind
colors: {
  custom: {
    50: '#8c7dd3',
    500: '#504abf',
    950: '#000000',
  },
}
SCSS
$custom: #504abf;
$custom-light: #8c7dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#504abf",
  "rgb": {
    "r": 80,
    "g": 74,
    "b": 191
  },
  "hsl": {
    "h": 243.077,
    "s": 47.755,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48465,
    "c": 0.17743,
    "h": 279.8
  },
  "luminance": 0.10365
}

Semantic roles & 50–950 ramp

primary
#504ABF
secondary
#C9CC99
accent
#D750D0
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #504ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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