#504FDC#504FDC

#504FDC is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 51.7% C 0.209 H 276.5°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#504FDC
RGBrgb(80, 79, 220)
HSLhsl(240, 67%, 59%)
HSVhsv(240, 64%, 86%)
CMYKcmyk(63.6%, 64.1%, 0%, 13.7%)
CIE-LABlab(41.94, 42.69, -71.97)
CIE-LCHlch(41.94, 83.68, 300.68°)
OKLaboklab(51.71% 0.0238 -0.2075)
OKLCHoklch(51.71% 0.209 276.5)
XYZxyz(19.0183, 12.4632, 69.0997)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504FDC #DBDC4F
analogous
#4F94DC #504FDC #964FDC
triadic
#504FDC #DC504F #4FDC50
tetradic
#504FDC #DC4F94 #DBDC4F #4FDC96
square
#504FDC #DC4F94 #DBDC4F #4FDC96
split-complementary
#504FDC #DC964F #94DC4F
monochromatic
#1E1D93 #2927C6 #504FDC #8382E6 #B6B5F0

Accessibility & contrast

On white

6.01
#504FDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#504FDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504FDC
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504FDC#FFFFFF#000000##FFFFFF
##504FDC1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E0
Deuteranopia (green-blind)
#005DD9
Tritanopia (blue-blind)
#00738E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #504fdc;
/* rgb */ color: rgb(80, 79, 220);
/* oklch */ color: oklch(51.7% 0.209 276.5);
Tailwind
colors: {
  custom: {
    50: '#9081e8',
    500: '#504fdc',
    950: '#000000',
  },
}
SCSS
$custom: #504fdc;
$custom-light: #9081e8;
$custom-dark: #000000;
JSON
{
  "hex": "#504fdc",
  "rgb": {
    "r": 80,
    "g": 79,
    "b": 220
  },
  "hsl": {
    "h": 240.426,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.51713,
    "c": 0.20885,
    "h": 276.5
  },
  "luminance": 0.12465
}

Semantic roles & 50–950 ramp

primary
#504FDC
secondary
#DFDFA8
accent
#EA3EE9
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #504FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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