#504396#504396

#504396 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.1% C 0.131 H 286.9°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#504396
RGBrgb(80, 67, 150)
HSLhsl(249, 38%, 43%)
HSVhsv(249, 55%, 59%)
CMYKcmyk(46.7%, 55.3%, 0%, 41.2%)
CIE-LABlab(33.82, 27.58, -43.97)
CIE-LCHlch(33.82, 51.90, 302.10°)
OKLaboklab(44.08% 0.0381 -0.1252)
OKLCHoklch(44.08% 0.131 286.9)
XYZxyz(10.8189, 7.9213, 29.8072)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504396 #899643
analogous
#435F96 #504396 #7A4396
triadic
#504396 #965043 #439650
tetradic
#504396 #96435F #899643 #43967A
square
#504396 #96435F #899643 #43967A
split-complementary
#504396 #967A43 #5F9643
monochromatic
#231D41 #39306C #504396 #6D5FB7 #9389CA

Accessibility & contrast

On white

8.13
#504396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#504396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504396
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504396#FFFFFF#000000##FFFFFF
##5043961.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175299
Deuteranopia (green-blind)
#164D94
Tritanopia (blue-blind)
#3A5566
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #504396;
/* rgb */ color: rgb(80, 67, 150);
/* oklch */ color: oklch(44.1% 0.131 286.9);
Tailwind
colors: {
  custom: {
    50: '#8677b5',
    500: '#504396',
    950: '#000000',
  },
}
SCSS
$custom: #504396;
$custom-light: #8677b5;
$custom-dark: #000000;
JSON
{
  "hex": "#504396",
  "rgb": {
    "r": 80,
    "g": 67,
    "b": 150
  },
  "hsl": {
    "h": 249.398,
    "s": 38.249,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44076,
    "c": 0.13092,
    "h": 286.9
  },
  "luminance": 0.07922
}

Semantic roles & 50–950 ramp

primary
#504396
secondary
#ADB57F
accent
#CE5ABC
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #504396

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

Preview Lab → · Contrast checker → · Palette generator →

#504396 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva