#504B95#504B95

#504B95 is a mid, moderate blue. Relative luminance 0.089; OKLCH L 45.5% C 0.117 H 283.8°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#504B95
RGBrgb(80, 75, 149)
HSLhsl(244, 33%, 44%)
HSVhsv(244, 50%, 58%)
CMYKcmyk(46.3%, 49.7%, 0%, 41.6%)
CIE-LABlab(35.80, 22.18, -40.18)
CIE-LCHlch(35.80, 45.89, 298.90°)
OKLaboklab(45.54% 0.0279 -0.1141)
OKLCHoklch(45.54% 0.117 283.8)
XYZxyz(11.2476, 8.9071, 29.5545)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504B95 #90954B
analogous
#4B6B95 #504B95 #754B95
triadic
#504B95 #95504B #4B9550
tetradic
#504B95 #954B6B #90954B #4B9575
square
#504B95 #954B6B #90954B #4B9575
split-complementary
#504B95 #95754B #6B954B
monochromatic
#242244 #3A376C #504B95 #6E69B4 #9692C8

Accessibility & contrast

On white

7.55
#504B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#504B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504B95
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504B95#FFFFFF#000000##FFFFFF
##504B951.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5798
Deuteranopia (green-blind)
#285293
Tritanopia (blue-blind)
#395B69
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #504b95;
/* rgb */ color: rgb(80, 75, 149);
/* oklch */ color: oklch(45.5% 0.117 283.8);
Tailwind
colors: {
  custom: {
    50: '#857db4',
    500: '#504b95',
    950: '#000000',
  },
}
SCSS
$custom: #504b95;
$custom-light: #857db4;
$custom-dark: #000000;
JSON
{
  "hex": "#504b95",
  "rgb": {
    "r": 80,
    "g": 75,
    "b": 149
  },
  "hsl": {
    "h": 244.054,
    "s": 33.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4554,
    "c": 0.11744,
    "h": 283.8
  },
  "luminance": 0.08908
}

Semantic roles & 50–950 ramp

primary
#504B95
secondary
#B1B487
accent
#C95FC2
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #504B95

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

Preview Lab → · Contrast checker → · Palette generator →

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