#504EBD#504EBD

#504EBD is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.0% C 0.170 H 278.9°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#504EBD
RGBrgb(80, 78, 189)
HSLhsl(241, 46%, 52%)
HSVhsv(241, 59%, 74%)
CMYKcmyk(57.7%, 58.7%, 0%, 25.9%)
CIE-LABlab(39.29, 33.18, -58.38)
CIE-LCHlch(39.29, 67.15, 299.61°)
OKLaboklab(49.01% 0.0263 -0.1676)
OKLCHoklch(49.01% 0.17 278.9)
XYZxyz(15.2151, 10.8273, 49.4224)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504EBD #BBBD4E
analogous
#4E84BD #504EBD #874EBD
triadic
#504EBD #BD504E #4EBD50
tetradic
#504EBD #BD4E84 #BBBD4E #4EBD87
square
#504EBD #BD4E84 #BBBD4E #4EBD87
split-complementary
#504EBD #BD874E #84BD4E
monochromatic
#282769 #3A3896 #504EBD #7C7BCE #A8A7DE

Accessibility & contrast

On white

6.63
#504EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#504EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504EBD
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504EBD#FFFFFF#000000##FFFFFF
##504EBD1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#0058BB
Tritanopia (blue-blind)
#0D687E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #504ebd;
/* rgb */ color: rgb(80, 78, 189);
/* oklch */ color: oklch(49.0% 0.170 278.9);
Tailwind
colors: {
  custom: {
    50: '#8b80d2',
    500: '#504ebd',
    950: '#000000',
  },
}
SCSS
$custom: #504ebd;
$custom-light: #8b80d2;
$custom-dark: #000000;
JSON
{
  "hex": "#504ebd",
  "rgb": {
    "r": 80,
    "g": 78,
    "b": 189
  },
  "hsl": {
    "h": 241.081,
    "s": 45.679,
    "l": 52.353
  },
  "oklch": {
    "l": 0.49008,
    "c": 0.16962,
    "h": 278.9
  },
  "luminance": 0.10828
}

Semantic roles & 50–950 ramp

primary
#504EBD
secondary
#CBCC9B
accent
#D552D3
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #504EBD

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

Preview Lab → · Contrast checker → · Palette generator →

#504EBD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva