#504692#504692

#504692 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.4% C 0.121 H 286.4°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#504692
RGBrgb(80, 70, 146)
HSLhsl(248, 35%, 42%)
HSVhsv(248, 52%, 57%)
CMYKcmyk(45.2%, 52.1%, 0%, 42.7%)
CIE-LABlab(34.32, 24.44, -40.74)
CIE-LCHlch(34.32, 47.50, 300.96°)
OKLaboklab(44.36% 0.0341 -0.1157)
OKLCHoklch(44.36% 0.121 286.4)
XYZxyz(10.6852, 8.1607, 28.2007)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504692 #889246
analogous
#466292 #504692 #764692
triadic
#504692 #925046 #469250
tetradic
#504692 #924662 #889246 #469276
square
#504692 #924662 #889246 #469276
split-complementary
#504692 #927646 #629246
monochromatic
#231E3F #393269 #504692 #6C62B4 #938BC7

Accessibility & contrast

On white

7.98
#504692 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#504692 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504692
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504692#FFFFFF#000000##FFFFFF
##5046921.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245395
Deuteranopia (green-blind)
#234F90
Tritanopia (blue-blind)
#3C5665
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #504692;
/* rgb */ color: rgb(80, 70, 146);
/* oklch */ color: oklch(44.4% 0.121 286.4);
Tailwind
colors: {
  custom: {
    50: '#8579b2',
    500: '#504692',
    950: '#000000',
  },
}
SCSS
$custom: #504692;
$custom-light: #8579b2;
$custom-dark: #000000;
JSON
{
  "hex": "#504692",
  "rgb": {
    "r": 80,
    "g": 70,
    "b": 146
  },
  "hsl": {
    "h": 247.895,
    "s": 35.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.44362,
    "c": 0.12065,
    "h": 286.4
  },
  "luminance": 0.08161
}

Semantic roles & 50–950 ramp

primary
#504692
secondary
#ACB381
accent
#CB5DBD
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #504692

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

Preview Lab → · Contrast checker → · Palette generator →

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