#504FA0#504FA0

#504FA0 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.1% C 0.128 H 280.9°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#504FA0
RGBrgb(80, 79, 160)
HSLhsl(241, 34%, 47%)
HSVhsv(241, 51%, 63%)
CMYKcmyk(50%, 50.6%, 0%, 37.3%)
CIE-LABlab(37.54, 23.12, -44.02)
CIE-LCHlch(37.54, 49.72, 297.71°)
OKLaboklab(47.07% 0.0241 -0.1253)
OKLCHoklch(47.07% 0.128 280.9)
XYZxyz(12.4475, 9.8348, 34.4933)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504FA0 #9FA04F
analogous
#4F77A0 #504FA0 #794FA0
triadic
#504FA0 #A0504F #4FA050
tetradic
#504FA0 #A04F77 #9FA04F #4FA079
square
#504FA0 #A04F77 #9FA04F #4FA079
split-complementary
#504FA0 #A0794F #77A04F
monochromatic
#27274E #3C3B77 #504FA0 #7373BA #9C9CCE

Accessibility & contrast

On white

7.08
#504FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#504FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504FA0
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504FA0#FFFFFF#000000##FFFFFF
##504FA01.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295BA3
Deuteranopia (green-blind)
#23559E
Tritanopia (blue-blind)
#326170
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #504fa0;
/* rgb */ color: rgb(80, 79, 160);
/* oklch */ color: oklch(47.1% 0.128 280.9);
Tailwind
colors: {
  custom: {
    50: '#8780bd',
    500: '#504fa0',
    950: '#000000',
  },
}
SCSS
$custom: #504fa0;
$custom-light: #8780bd;
$custom-dark: #000000;
JSON
{
  "hex": "#504fa0",
  "rgb": {
    "r": 80,
    "g": 79,
    "b": 160
  },
  "hsl": {
    "h": 240.741,
    "s": 33.891,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47072,
    "c": 0.12763,
    "h": 280.9
  },
  "luminance": 0.09836
}

Semantic roles & 50–950 ramp

primary
#504FA0
secondary
#BABB90
accent
#CA5EC9
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #504FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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