#504AAE#504AAE

#504AAE is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.1% C 0.154 H 281.4°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#504AAE
RGBrgb(80, 74, 174)
HSLhsl(244, 40%, 49%)
HSVhsv(244, 57%, 68%)
CMYKcmyk(54%, 57.5%, 0%, 31.8%)
CIE-LABlab(37.22, 30.79, -52.89)
CIE-LCHlch(37.22, 61.20, 300.21°)
OKLaboklab(47.13% 0.0305 -0.1514)
OKLCHoklch(47.13% 0.154 281.4)
XYZxyz(13.3947, 9.6582, 41.1946)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504AAE #A8AE4A
analogous
#4A76AE #504AAE #824AAE
triadic
#504AAE #AE504A #4AAE50
tetradic
#504AAE #AE4A76 #A8AE4A #4AAE82
square
#504AAE #AE4A76 #A8AE4A #4AAE82
split-complementary
#504AAE #AE824A #76AE4A
monochromatic
#292558 #3C3883 #504AAE #7772C3 #A09DD5

Accessibility & contrast

On white

7.16
#504AAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#504AAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504AAE
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504AAE#FFFFFF#000000##FFFFFF
##504AAE1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB1
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#266175
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #504aae;
/* rgb */ color: rgb(80, 74, 174);
/* oklch */ color: oklch(47.1% 0.154 281.4);
Tailwind
colors: {
  custom: {
    50: '#897cc7',
    500: '#504aae',
    950: '#000000',
  },
}
SCSS
$custom: #504aae;
$custom-light: #897cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#504aae",
  "rgb": {
    "r": 80,
    "g": 74,
    "b": 174
  },
  "hsl": {
    "h": 243.6,
    "s": 40.323,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47133,
    "c": 0.15449,
    "h": 281.4
  },
  "luminance": 0.09659
}

Semantic roles & 50–950 ramp

primary
#504AAE
secondary
#BFC292
accent
#D058C9
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #504AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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