#504CA1#504CA1

#504CA1 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.6% C 0.133 H 282.0°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#504CA1
RGBrgb(80, 76, 161)
HSLhsl(243, 36%, 46%)
HSVhsv(243, 53%, 63%)
CMYKcmyk(50.3%, 52.8%, 0%, 36.9%)
CIE-LABlab(36.83, 25.35, -45.77)
CIE-LCHlch(36.83, 52.32, 298.98°)
OKLaboklab(46.56% 0.0278 -0.1305)
OKLCHoklch(46.56% 0.133 282)
XYZxyz(12.3238, 9.4469, 34.8854)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504CA1 #9DA14C
analogous
#4C73A1 #504CA1 #7B4CA1
triadic
#504CA1 #A1504C #4CA150
tetradic
#504CA1 #A14C73 #9DA14C #4CA17B
square
#504CA1 #A14C73 #9DA14C #4CA17B
split-complementary
#504CA1 #A17B4C #73A14C
monochromatic
#27254E #3B3877 #504CA1 #736FBB #9B99CF

Accessibility & contrast

On white

7.27
#504CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#504CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504CA1
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504CA1#FFFFFF#000000##FFFFFF
##504CA11.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215AA4
Deuteranopia (green-blind)
#1A549F
Tritanopia (blue-blind)
#325F6F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #504ca1;
/* rgb */ color: rgb(80, 76, 161);
/* oklch */ color: oklch(46.6% 0.133 282.0);
Tailwind
colors: {
  custom: {
    50: '#877ebd',
    500: '#504ca1',
    950: '#000000',
  },
}
SCSS
$custom: #504ca1;
$custom-light: #877ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#504ca1",
  "rgb": {
    "r": 80,
    "g": 76,
    "b": 161
  },
  "hsl": {
    "h": 242.824,
    "s": 35.865,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46557,
    "c": 0.13341,
    "h": 282
  },
  "luminance": 0.09448
}

Semantic roles & 50–950 ramp

primary
#504CA1
secondary
#B9BB8E
accent
#CC5CC7
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #504CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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