#504DDF#504DDF

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

Color values

HEX#504DDF
RGBrgb(80, 77, 223)
HSLhsl(241, 70%, 59%)
HSVhsv(241, 65%, 87%)
CMYKcmyk(64.1%, 65.5%, 0%, 12.5%)
CIE-LABlab(41.75, 44.84, -74.00)
CIE-LCHlch(41.75, 86.52, 301.22°)
OKLaboklab(51.65% 0.025 -0.2134)
OKLCHoklch(51.65% 0.215 276.7)
XYZxyz(19.2771, 12.3393, 71.1636)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504DDF #DCDF4D
analogous
#4D93DF #504DDF #994DDF
triadic
#504DDF #DF504D #4DDF50
tetradic
#504DDF #DF4D93 #DCDF4D #4DDF99
square
#504DDF #DF4D93 #DCDF4D #4DDF99
split-complementary
#504DDF #DF994D #93DF4D
monochromatic
#1E1B97 #2824CA #504DDF #8381E8 #B6B5F2

Accessibility & contrast

On white

6.06
#504DDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#504DDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504DDF
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504DDF#FFFFFF#000000##FFFFFF
##504DDF1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #504ddf;
/* rgb */ color: rgb(80, 77, 223);
/* oklch */ color: oklch(51.6% 0.215 276.7);
Tailwind
colors: {
  custom: {
    50: '#917fea',
    500: '#504ddf',
    950: '#000000',
  },
}
SCSS
$custom: #504ddf;
$custom-light: #917fea;
$custom-dark: #000000;
JSON
{
  "hex": "#504ddf",
  "rgb": {
    "r": 80,
    "g": 77,
    "b": 223
  },
  "hsl": {
    "h": 241.233,
    "s": 69.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.51649,
    "c": 0.21489,
    "h": 276.7
  },
  "luminance": 0.12341
}

Semantic roles & 50–950 ramp

primary
#504DDF
secondary
#DFE1A7
accent
#EC3BE9
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #504DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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