#504AB0#504AB0

#504AB0 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.3% C 0.157 H 281.2°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#504AB0
RGBrgb(80, 74, 176)
HSLhsl(244, 41%, 49%)
HSVhsv(244, 58%, 69%)
CMYKcmyk(54.5%, 58%, 0%, 31%)
CIE-LABlab(37.37, 31.44, -53.84)
CIE-LCHlch(37.37, 62.35, 300.28°)
OKLaboklab(47.29% 0.0305 -0.1542)
OKLCHoklch(47.29% 0.157 281.2)
XYZxyz(13.5911, 9.7368, 42.2291)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504AB0 #AAB04A
analogous
#4A77B0 #504AB0 #834AB0
triadic
#504AB0 #B0504A #4AB050
tetradic
#504AB0 #B04A77 #AAB04A #4AB083
square
#504AB0 #B04A77 #AAB04A #4AB083
split-complementary
#504AB0 #B0834A #77B04A
monochromatic
#29265A #3C3885 #504AB0 #7873C4 #A19ED6

Accessibility & contrast

On white

7.12
#504AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#504AB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504AB0
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504AB0#FFFFFF#000000##FFFFFF
##504AB01.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB3
Deuteranopia (green-blind)
#0054AE
Tritanopia (blue-blind)
#246276
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #504ab0;
/* rgb */ color: rgb(80, 74, 176);
/* oklch */ color: oklch(47.3% 0.157 281.2);
Tailwind
colors: {
  custom: {
    50: '#897dc8',
    500: '#504ab0',
    950: '#000000',
  },
}
SCSS
$custom: #504ab0;
$custom-light: #897dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#504ab0",
  "rgb": {
    "r": 80,
    "g": 74,
    "b": 176
  },
  "hsl": {
    "h": 243.529,
    "s": 40.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.47286,
    "c": 0.15723,
    "h": 281.2
  },
  "luminance": 0.09738
}

Semantic roles & 50–950 ramp

primary
#504AB0
secondary
#C0C393
accent
#D157CA
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #504AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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