#504EA9#504EA9

#504EA9 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.5% C 0.142 H 280.5°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#504EA9
RGBrgb(80, 78, 169)
HSLhsl(241, 37%, 48%)
HSVhsv(241, 54%, 66%)
CMYKcmyk(52.7%, 53.8%, 0%, 33.7%)
CIE-LABlab(37.87, 26.66, -48.86)
CIE-LCHlch(37.87, 55.66, 298.61°)
OKLaboklab(47.51% 0.0259 -0.1396)
OKLCHoklch(47.51% 0.142 280.5)
XYZxyz(13.1919, 10.0181, 38.7670)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504EA9 #A7A94E
analogous
#4E79A9 #504EA9 #7D4EA9
triadic
#504EA9 #A9504E #4EA950
tetradic
#504EA9 #A94E79 #A7A94E #4EA97D
square
#504EA9 #A94E79 #A7A94E #4EA97D
split-complementary
#504EA9 #A97D4E #79A94E
monochromatic
#282755 #3C3B7F #504EA9 #7775BF #A09FD3

Accessibility & contrast

On white

6.99
#504EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#504EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504EA9
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504EA9#FFFFFF#000000##FFFFFF
##504EA91.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5DAC
Deuteranopia (green-blind)
#0F56A7
Tritanopia (blue-blind)
#2B6274
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #504ea9;
/* rgb */ color: rgb(80, 78, 169);
/* oklch */ color: oklch(47.5% 0.142 280.5);
Tailwind
colors: {
  custom: {
    50: '#887fc3',
    500: '#504ea9',
    950: '#000000',
  },
}
SCSS
$custom: #504ea9;
$custom-light: #887fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#504ea9",
  "rgb": {
    "r": 80,
    "g": 78,
    "b": 169
  },
  "hsl": {
    "h": 241.319,
    "s": 36.842,
    "l": 48.431
  },
  "oklch": {
    "l": 0.47509,
    "c": 0.14196,
    "h": 280.5
  },
  "luminance": 0.10019
}

Semantic roles & 50–950 ramp

primary
#504EA9
secondary
#BFBF93
accent
#CD5BCA
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #504EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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