#504697#504697

#504697 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.7% C 0.128 H 285.6°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#504697
RGBrgb(80, 70, 151)
HSLhsl(247, 37%, 43%)
HSVhsv(247, 54%, 59%)
CMYKcmyk(47%, 53.6%, 0%, 40.8%)
CIE-LABlab(34.64, 26.00, -43.26)
CIE-LCHlch(34.64, 50.47, 301.00°)
OKLaboklab(44.71% 0.0344 -0.1231)
OKLCHoklch(44.71% 0.128 285.6)
XYZxyz(11.0827, 8.3197, 30.2941)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504697 #8D9746
analogous
#466497 #504697 #784697
triadic
#504697 #975046 #469750
tetradic
#504697 #974664 #8D9746 #469778
square
#504697 #974664 #8D9746 #469778
split-complementary
#504697 #977846 #649746
monochromatic
#241F43 #3A336D #504697 #6E63B7 #958DCA

Accessibility & contrast

On white

7.88
#504697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#504697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504697
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504697#FFFFFF#000000##FFFFFF
##5046971.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E549A
Deuteranopia (green-blind)
#1C4F95
Tritanopia (blue-blind)
#395767
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #504697;
/* rgb */ color: rgb(80, 70, 151);
/* oklch */ color: oklch(44.7% 0.128 285.6);
Tailwind
colors: {
  custom: {
    50: '#8679b6',
    500: '#504697',
    950: '#000000',
  },
}
SCSS
$custom: #504697;
$custom-light: #8679b6;
$custom-dark: #000000;
JSON
{
  "hex": "#504697",
  "rgb": {
    "r": 80,
    "g": 70,
    "b": 151
  },
  "hsl": {
    "h": 247.407,
    "s": 36.652,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44709,
    "c": 0.12787,
    "h": 285.6
  },
  "luminance": 0.0832
}

Semantic roles & 50–950 ramp

primary
#504697
secondary
#AFB683
accent
#CD5BBF
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #504697

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

Preview Lab → · Contrast checker → · Palette generator →

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