#504D95#504D95

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

Color values

HEX#504D95
RGBrgb(80, 77, 149)
HSLhsl(243, 32%, 44%)
HSVhsv(243, 48%, 58%)
CMYKcmyk(46.3%, 48.3%, 0%, 41.6%)
CIE-LABlab(36.33, 20.90, -39.33)
CIE-LCHlch(36.33, 44.54, 297.99°)
OKLaboklab(45.94% 0.0254 -0.1116)
OKLCHoklch(45.94% 0.114 282.8)
XYZxyz(11.3854, 9.1826, 29.6005)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504D95 #92954D
analogous
#4D6E95 #504D95 #744D95
triadic
#504D95 #95504D #4D9550
tetradic
#504D95 #954D6E #92954D #4D9574
square
#504D95 #954D6E #92954D #4D9574
split-complementary
#504D95 #95744D #6E954D
monochromatic
#252344 #3A386D #504D95 #6F6CB3 #9794C8

Accessibility & contrast

On white

7.40
#504D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #504D95
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504D95#FFFFFF#000000##FFFFFF
##504D951.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5898
Deuteranopia (green-blind)
#2C5393
Tritanopia (blue-blind)
#395C6A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #504d95;
/* rgb */ color: rgb(80, 77, 149);
/* oklch */ color: oklch(45.9% 0.114 282.8);
Tailwind
colors: {
  custom: {
    50: '#857eb4',
    500: '#504d95',
    950: '#000000',
  },
}
SCSS
$custom: #504d95;
$custom-light: #857eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#504d95",
  "rgb": {
    "r": 80,
    "g": 77,
    "b": 149
  },
  "hsl": {
    "h": 242.5,
    "s": 31.858,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45939,
    "c": 0.11442,
    "h": 282.8
  },
  "luminance": 0.09183
}

Semantic roles & 50–950 ramp

primary
#504D95
secondary
#B3B489
accent
#C860C4
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #504D95

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

Preview Lab → · Contrast checker → · Palette generator →

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