#504FAE#504FAE

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

Color values

HEX#504FAE
RGBrgb(80, 79, 174)
HSLhsl(241, 38%, 50%)
HSVhsv(241, 55%, 68%)
CMYKcmyk(54%, 54.6%, 0%, 31.8%)
CIE-LABlab(38.47, 27.65, -50.88)
CIE-LCHlch(38.47, 57.90, 298.52°)
OKLaboklab(48.06% 0.025 -0.1455)
OKLCHoklch(48.06% 0.148 279.8)
XYZxyz(13.7418, 10.3526, 41.3103)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504FAE #ADAE4F
analogous
#4F7DAE #504FAE #804FAE
triadic
#504FAE #AE504F #4FAE50
tetradic
#504FAE #AE4F7D #ADAE4F #4FAE80
square
#504FAE #AE4F7D #ADAE4F #4FAE80
split-complementary
#504FAE #AE804F #7DAE4F
monochromatic
#29295A #3D3C84 #504FAE #7978C2 #A3A2D5

Accessibility & contrast

On white

6.84
#504FAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #504FAE
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504FAE#FFFFFF#000000##FFFFFF
##504FAE1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165EB1
Deuteranopia (green-blind)
#0157AC
Tritanopia (blue-blind)
#266577
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #504fae;
/* rgb */ color: rgb(80, 79, 174);
/* oklch */ color: oklch(48.1% 0.148 279.8);
Tailwind
colors: {
  custom: {
    50: '#8980c7',
    500: '#504fae',
    950: '#000000',
  },
}
SCSS
$custom: #504fae;
$custom-light: #8980c7;
$custom-dark: #000000;
JSON
{
  "hex": "#504fae",
  "rgb": {
    "r": 80,
    "g": 79,
    "b": 174
  },
  "hsl": {
    "h": 240.632,
    "s": 37.549,
    "l": 49.608
  },
  "oklch": {
    "l": 0.4806,
    "c": 0.14763,
    "h": 279.8
  },
  "luminance": 0.10353
}

Semantic roles & 50–950 ramp

primary
#504FAE
secondary
#C2C297
accent
#CE5ACC
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #504FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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