#504DDD#504DDD

#504DDD is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.5% C 0.212 H 276.8°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#504DDD
RGBrgb(80, 77, 221)
HSLhsl(241, 68%, 58%)
HSVhsv(241, 65%, 87%)
CMYKcmyk(63.8%, 65.2%, 0%, 13.3%)
CIE-LABlab(41.58, 44.20, -73.13)
CIE-LCHlch(41.58, 85.45, 301.15°)
OKLaboklab(51.48% 0.0252 -0.2109)
OKLCHoklch(51.48% 0.212 276.8)
XYZxyz(19.0090, 12.2321, 69.7519)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504DDD #DADD4D
analogous
#4D92DD #504DDD #984DDD
triadic
#504DDD #DD504D #4DDD50
tetradic
#504DDD #DD4D92 #DADD4D #4DDD98
square
#504DDD #DD4D92 #DADD4D #4DDD98
split-complementary
#504DDD #DD984D #92DD4D
monochromatic
#1F1C93 #2926C7 #504DDD #8380E7 #B5B4F1

Accessibility & contrast

On white

6.09
#504DDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#504DDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504DDD
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504DDD#FFFFFF#000000##FFFFFF
##504DDD1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E2
Deuteranopia (green-blind)
#005CDA
Tritanopia (blue-blind)
#00728E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #504ddd;
/* rgb */ color: rgb(80, 77, 221);
/* oklch */ color: oklch(51.5% 0.212 276.8);
Tailwind
colors: {
  custom: {
    50: '#917fe9',
    500: '#504ddd',
    950: '#000000',
  },
}
SCSS
$custom: #504ddd;
$custom-light: #917fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#504ddd",
  "rgb": {
    "r": 80,
    "g": 77,
    "b": 221
  },
  "hsl": {
    "h": 241.25,
    "s": 67.925,
    "l": 58.431
  },
  "oklch": {
    "l": 0.51476,
    "c": 0.2124,
    "h": 276.8
  },
  "luminance": 0.12234
}

Semantic roles & 50–950 ramp

primary
#504DDD
secondary
#DEDFA6
accent
#EB3DE7
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #504DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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