#504FA3#504FA3

#504FA3 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.3% C 0.132 H 280.6°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#504FA3
RGBrgb(80, 79, 163)
HSLhsl(241, 35%, 47%)
HSVhsv(241, 52%, 64%)
CMYKcmyk(50.9%, 51.5%, 0%, 36.1%)
CIE-LABlab(37.74, 24.08, -45.51)
CIE-LCHlch(37.74, 51.49, 297.89°)
OKLaboklab(47.28% 0.0243 -0.1297)
OKLCHoklch(47.28% 0.132 280.6)
XYZxyz(12.7131, 9.9411, 35.8922)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504FA3 #A2A34F
analogous
#4F78A3 #504FA3 #7A4FA3
triadic
#504FA3 #A3504F #4FA350
tetradic
#504FA3 #A34F78 #A2A34F #4FA37A
square
#504FA3 #A34F78 #A2A34F #4FA37A
split-complementary
#504FA3 #A37A4F #78A34F
monochromatic
#282751 #3C3B7A #504FA3 #7574BB #9E9DCF

Accessibility & contrast

On white

7.03
#504FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#504FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504FA3
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504FA3#FFFFFF#000000##FFFFFF
##504FA31.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265CA6
Deuteranopia (green-blind)
#1E56A1
Tritanopia (blue-blind)
#306171
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #504fa3;
/* rgb */ color: rgb(80, 79, 163);
/* oklch */ color: oklch(47.3% 0.132 280.6);
Tailwind
colors: {
  custom: {
    50: '#8780bf',
    500: '#504fa3',
    950: '#000000',
  },
}
SCSS
$custom: #504fa3;
$custom-light: #8780bf;
$custom-dark: #000000;
JSON
{
  "hex": "#504fa3",
  "rgb": {
    "r": 80,
    "g": 79,
    "b": 163
  },
  "hsl": {
    "h": 240.714,
    "s": 34.711,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47278,
    "c": 0.13197,
    "h": 280.6
  },
  "luminance": 0.09942
}

Semantic roles & 50–950 ramp

primary
#504FA3
secondary
#BCBC91
accent
#CB5DC9
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #504FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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