#504BDD#504BDD

#504BDD is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.2% C 0.215 H 277.2°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#504BDD
RGBrgb(80, 75, 221)
HSLhsl(242, 68%, 58%)
HSVhsv(242, 66%, 87%)
CMYKcmyk(63.8%, 66.1%, 0%, 13.3%)
CIE-LABlab(41.15, 45.37, -73.84)
CIE-LCHlch(41.15, 86.67, 301.57°)
OKLaboklab(51.16% 0.0267 -0.213)
OKLCHoklch(51.16% 0.215 277.2)
XYZxyz(18.8713, 11.9565, 69.7060)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504BDD #D8DD4B
analogous
#4B8FDD #504BDD #994BDD
triadic
#504BDD #DD504B #4BDD50
tetradic
#504BDD #DD4B8F #D8DD4B #4BDD99
square
#504BDD #DD4B8F #D8DD4B #4BDD99
split-complementary
#504BDD #DD994B #8FDD4B
monochromatic
#201C92 #2B25C5 #504BDD #827EE7 #B4B2F0

Accessibility & contrast

On white

6.19
#504BDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#504BDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504BDD
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504BDD#FFFFFF#000000##FFFFFF
##504BDD1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E2
Deuteranopia (green-blind)
#005BDA
Tritanopia (blue-blind)
#00718E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #504bdd;
/* rgb */ color: rgb(80, 75, 221);
/* oklch */ color: oklch(51.2% 0.215 277.2);
Tailwind
colors: {
  custom: {
    50: '#917ee9',
    500: '#504bdd',
    950: '#000000',
  },
}
SCSS
$custom: #504bdd;
$custom-light: #917ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#504bdd",
  "rgb": {
    "r": 80,
    "g": 75,
    "b": 221
  },
  "hsl": {
    "h": 242.055,
    "s": 68.224,
    "l": 58.039
  },
  "oklch": {
    "l": 0.5116,
    "c": 0.21466,
    "h": 277.2
  },
  "luminance": 0.11958
}

Semantic roles & 50–950 ramp

primary
#504BDD
secondary
#DDDFA5
accent
#EB3DE5
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #504BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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