#504684#504684

#504684 is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.4% C 0.100 H 288.9°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#504684
RGBrgb(80, 70, 132)
HSLhsl(250, 31%, 40%)
HSVhsv(250, 47%, 52%)
CMYKcmyk(39.4%, 47%, 0%, 48.2%)
CIE-LABlab(33.46, 20.17, -33.51)
CIE-LCHlch(33.46, 39.11, 301.04°)
OKLaboklab(43.44% 0.0325 -0.0946)
OKLCHoklch(43.44% 0.1 288.9)
XYZxyz(9.6621, 7.7514, 22.8124)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504684 #7A8446
analogous
#465B84 #504684 #6F4684
triadic
#504684 #845046 #468450
tetradic
#504684 #84465B #7A8446 #46846F
square
#504684 #84465B #7A8446 #46846F
split-complementary
#504684 #846F46 #5B8446
monochromatic
#201C34 #38315C #504684 #6A5EA9 #8F86BF

Accessibility & contrast

On white

8.23
#504684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#504684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504684
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504684#FFFFFF#000000##FFFFFF
##5046841.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305086
Deuteranopia (green-blind)
#304D83
Tritanopia (blue-blind)
#42525E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #504684;
/* rgb */ color: rgb(80, 70, 132);
/* oklch */ color: oklch(43.4% 0.100 288.9);
Tailwind
colors: {
  custom: {
    50: '#8479a8',
    500: '#504684',
    950: '#000000',
  },
}
SCSS
$custom: #504684;
$custom-light: #8479a8;
$custom-dark: #000000;
JSON
{
  "hex": "#504684",
  "rgb": {
    "r": 80,
    "g": 70,
    "b": 132
  },
  "hsl": {
    "h": 249.677,
    "s": 30.693,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43442,
    "c": 0.09998,
    "h": 288.9
  },
  "luminance": 0.07752
}

Semantic roles & 50–950 ramp

primary
#504684
secondary
#A3AA7C
accent
#C761B6
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B090F
muted
#7C7B7F

Preview Lab

Preview with #504684

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

Preview Lab → · Contrast checker → · Palette generator →

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