#504FAA#504FAA

#504FAA is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.8% C 0.142 H 280.1°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#504FAA
RGBrgb(80, 79, 170)
HSLhsl(241, 37%, 49%)
HSVhsv(241, 54%, 67%)
CMYKcmyk(52.9%, 53.5%, 0%, 33.3%)
CIE-LABlab(38.20, 26.35, -48.94)
CIE-LCHlch(38.20, 55.58, 298.30°)
OKLaboklab(47.77% 0.0248 -0.1398)
OKLCHoklch(47.77% 0.142 280.1)
XYZxyz(13.3577, 10.1989, 39.2871)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504FAA #A9AA4F
analogous
#4F7CAA #504FAA #7E4FAA
triadic
#504FAA #AA504F #4FAA50
tetradic
#504FAA #AA4F7C #A9AA4F #4FAA7E
square
#504FAA #AA4F7C #A9AA4F #4FAA7E
split-complementary
#504FAA #AA7E4F #7CAA4F
monochromatic
#292856 #3C3C80 #504FAA #7777C0 #A1A0D3

Accessibility & contrast

On white

6.91
#504FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#504FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504FAA
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504FAA#FFFFFF#000000##FFFFFF
##504FAA1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5DAD
Deuteranopia (green-blind)
#1056A8
Tritanopia (blue-blind)
#2A6375
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #504faa;
/* rgb */ color: rgb(80, 79, 170);
/* oklch */ color: oklch(47.8% 0.142 280.1);
Tailwind
colors: {
  custom: {
    50: '#8880c4',
    500: '#504faa',
    950: '#000000',
  },
}
SCSS
$custom: #504faa;
$custom-light: #8880c4;
$custom-dark: #000000;
JSON
{
  "hex": "#504faa",
  "rgb": {
    "r": 80,
    "g": 79,
    "b": 170
  },
  "hsl": {
    "h": 240.659,
    "s": 36.546,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47771,
    "c": 0.14199,
    "h": 280.1
  },
  "luminance": 0.102
}

Semantic roles & 50–950 ramp

primary
#504FAA
secondary
#C0C095
accent
#CD5BCB
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #504FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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