#504DDE#504DDE

#504DDE is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.6% C 0.214 H 276.8°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#504DDE
RGBrgb(80, 77, 222)
HSLhsl(241, 69%, 59%)
HSVhsv(241, 65%, 87%)
CMYKcmyk(64%, 65.3%, 0%, 12.9%)
CIE-LABlab(41.67, 44.52, -73.56)
CIE-LCHlch(41.67, 85.99, 301.18°)
OKLaboklab(51.56% 0.0251 -0.2122)
OKLCHoklch(51.56% 0.214 276.8)
XYZxyz(19.1427, 12.2856, 70.4556)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504DDE #DBDE4D
analogous
#4D92DE #504DDE #984DDE
triadic
#504DDE #DE504D #4DDE50
tetradic
#504DDE #DE4D92 #DBDE4D #4DDE98
square
#504DDE #DE4D92 #DBDE4D #4DDE98
split-complementary
#504DDE #DE984D #92DE4D
monochromatic
#1E1C95 #2925C9 #504DDE #8381E8 #B6B4F1

Accessibility & contrast

On white

6.07
#504DDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#504DDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504DDE
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504DDE#FFFFFF#000000##FFFFFF
##504DDE1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E3
Deuteranopia (green-blind)
#005CDB
Tritanopia (blue-blind)
#00738F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #504dde;
/* rgb */ color: rgb(80, 77, 222);
/* oklch */ color: oklch(51.6% 0.214 276.8);
Tailwind
colors: {
  custom: {
    50: '#917fe9',
    500: '#504dde',
    950: '#000000',
  },
}
SCSS
$custom: #504dde;
$custom-light: #917fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#504dde",
  "rgb": {
    "r": 80,
    "g": 77,
    "b": 222
  },
  "hsl": {
    "h": 241.241,
    "s": 68.72,
    "l": 58.627
  },
  "oklch": {
    "l": 0.51563,
    "c": 0.21365,
    "h": 276.8
  },
  "luminance": 0.12287
}

Semantic roles & 50–950 ramp

primary
#504DDE
secondary
#DFE0A7
accent
#EC3CE8
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #504DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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