#504683#504683

#504683 is a dark, moderate blue. Relative luminance 0.077; OKLCH L 43.4% C 0.098 H 289.2°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#504683
RGBrgb(80, 70, 131)
HSLhsl(250, 30%, 39%)
HSVhsv(250, 47%, 51%)
CMYKcmyk(38.9%, 46.6%, 0%, 48.6%)
CIE-LABlab(33.40, 19.87, -32.99)
CIE-LCHlch(33.40, 38.51, 301.06°)
OKLaboklab(43.38% 0.0323 -0.093)
OKLCHoklch(43.38% 0.098 289.2)
XYZxyz(9.5940, 7.7242, 22.4538)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504683 #798346
analogous
#465B83 #504683 #6F4683
triadic
#504683 #835046 #468350
tetradic
#504683 #83465B #798346 #46836F
square
#504683 #83465B #798346 #46836F
split-complementary
#504683 #836F46 #5B8346
monochromatic
#1F1B33 #38315B #504683 #6A5DA9 #8F85BE

Accessibility & contrast

On white

8.25
#504683 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#504683 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504683
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504683#FFFFFF#000000##FFFFFF
##5046831.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315085
Deuteranopia (green-blind)
#314D82
Tritanopia (blue-blind)
#43525E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #504683;
/* rgb */ color: rgb(80, 70, 131);
/* oklch */ color: oklch(43.4% 0.098 289.2);
Tailwind
colors: {
  custom: {
    50: '#8479a7',
    500: '#504683',
    950: '#000000',
  },
}
SCSS
$custom: #504683;
$custom-light: #8479a7;
$custom-dark: #000000;
JSON
{
  "hex": "#504683",
  "rgb": {
    "r": 80,
    "g": 70,
    "b": 131
  },
  "hsl": {
    "h": 249.836,
    "s": 30.348,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43379,
    "c": 0.09848,
    "h": 289.2
  },
  "luminance": 0.07724
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #504683

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

Preview Lab → · Contrast checker → · Palette generator →

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