#504E91#504E91

#504E91 is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.9% C 0.107 H 282.7°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#504E91
RGBrgb(80, 78, 145)
HSLhsl(242, 30%, 44%)
HSVhsv(242, 46%, 57%)
CMYKcmyk(44.8%, 46.2%, 0%, 43.1%)
CIE-LABlab(36.36, 19.00, -36.86)
CIE-LCHlch(36.36, 41.47, 297.28°)
OKLaboklab(45.88% 0.0235 -0.1043)
OKLCHoklch(45.88% 0.107 282.7)
XYZxyz(11.1420, 9.1981, 27.9709)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504E91 #8F914E
analogous
#4E6D91 #504E91 #714E91
triadic
#504E91 #91504E #4E9150
tetradic
#504E91 #914E6D #8F914E #4E9171
square
#504E91 #914E6D #8F914E #4E9171
split-complementary
#504E91 #91714E #6D914E
monochromatic
#242341 #3A3969 #504E91 #6E6CB0 #9594C5

Accessibility & contrast

On white

7.39
#504E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#504E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504E91
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504E91#FFFFFF#000000##FFFFFF
##504E911.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345893
Deuteranopia (green-blind)
#31538F
Tritanopia (blue-blind)
#3B5C68
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #504e91;
/* rgb */ color: rgb(80, 78, 145);
/* oklch */ color: oklch(45.9% 0.107 282.7);
Tailwind
colors: {
  custom: {
    50: '#857fb1',
    500: '#504e91',
    950: '#000000',
  },
}
SCSS
$custom: #504e91;
$custom-light: #857fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#504e91",
  "rgb": {
    "r": 80,
    "g": 78,
    "b": 145
  },
  "hsl": {
    "h": 241.791,
    "s": 30.045,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45884,
    "c": 0.10694,
    "h": 282.7
  },
  "luminance": 0.09199
}

Semantic roles & 50–950 ramp

primary
#504E91
secondary
#B1B289
accent
#C662C3
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #504E91

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

Preview Lab → · Contrast checker → · Palette generator →

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