#504686#504686

#504686 is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.6% C 0.103 H 288.5°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#504686
RGBrgb(80, 70, 134)
HSLhsl(249, 31%, 40%)
HSVhsv(249, 48%, 53%)
CMYKcmyk(40.3%, 47.8%, 0%, 47.5%)
CIE-LABlab(33.58, 20.77, -34.56)
CIE-LCHlch(33.58, 40.32, 301.00°)
OKLaboklab(43.57% 0.0328 -0.0976)
OKLCHoklch(43.57% 0.103 288.5)
XYZxyz(9.8003, 7.8067, 23.5401)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504686 #7C8646
analogous
#465C86 #504686 #704686
triadic
#504686 #865046 #468650
tetradic
#504686 #86465C #7C8646 #468670
square
#504686 #86465C #7C8646 #468670
split-complementary
#504686 #867046 #5C8646
monochromatic
#201C36 #38315E #504686 #6A5EAB #8F86C0

Accessibility & contrast

On white

8.20
#504686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#504686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504686
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504686#FFFFFF#000000##FFFFFF
##5046861.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5088
Deuteranopia (green-blind)
#2E4D85
Tritanopia (blue-blind)
#41535F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #504686;
/* rgb */ color: rgb(80, 70, 134);
/* oklch */ color: oklch(43.6% 0.103 288.5);
Tailwind
colors: {
  custom: {
    50: '#8479a9',
    500: '#504686',
    950: '#000000',
  },
}
SCSS
$custom: #504686;
$custom-light: #8479a9;
$custom-dark: #000000;
JSON
{
  "hex": "#504686",
  "rgb": {
    "r": 80,
    "g": 70,
    "b": 134
  },
  "hsl": {
    "h": 249.375,
    "s": 31.373,
    "l": 40
  },
  "oklch": {
    "l": 0.43568,
    "c": 0.10298,
    "h": 288.5
  },
  "luminance": 0.07807
}

Semantic roles & 50–950 ramp

primary
#504686
secondary
#A4AB7C
accent
#C860B7
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #504686

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

Preview Lab → · Contrast checker → · Palette generator →

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