#504FDE#504FDE

#504FDE is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 51.9% C 0.211 H 276.4°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#504FDE
RGBrgb(80, 79, 222)
HSLhsl(240, 68%, 59%)
HSVhsv(240, 64%, 87%)
CMYKcmyk(64%, 64.4%, 0%, 12.9%)
CIE-LABlab(42.11, 43.34, -72.84)
CIE-LCHlch(42.11, 84.76, 300.75°)
OKLaboklab(51.88% 0.0236 -0.21)
OKLCHoklch(51.88% 0.211 276.4)
XYZxyz(19.2848, 12.5697, 70.5030)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504FDE #DDDE4F
analogous
#4F96DE #504FDE #984FDE
triadic
#504FDE #DE504F #4FDE50
tetradic
#504FDE #DE4F96 #DDDE4F #4FDE98
square
#504FDE #DE4F96 #DDDE4F #4FDE98
split-complementary
#504FDE #DE984F #96DE4F
monochromatic
#1D1C96 #2726CA #504FDE #8383E8 #B6B6F1

Accessibility & contrast

On white

5.98
#504FDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#504FDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504FDE
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504FDE#FFFFFF#000000##FFFFFF
##504FDE1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE3
Deuteranopia (green-blind)
#005DDB
Tritanopia (blue-blind)
#00748F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #504fde;
/* rgb */ color: rgb(80, 79, 222);
/* oklch */ color: oklch(51.9% 0.211 276.4);
Tailwind
colors: {
  custom: {
    50: '#9181e9',
    500: '#504fde',
    950: '#000000',
  },
}
SCSS
$custom: #504fde;
$custom-light: #9181e9;
$custom-dark: #000000;
JSON
{
  "hex": "#504fde",
  "rgb": {
    "r": 80,
    "g": 79,
    "b": 222
  },
  "hsl": {
    "h": 240.42,
    "s": 68.421,
    "l": 59.02
  },
  "oklch": {
    "l": 0.51883,
    "c": 0.21136,
    "h": 276.4
  },
  "luminance": 0.12571
}

Semantic roles & 50–950 ramp

primary
#504FDE
secondary
#E0E0A8
accent
#EB3DEA
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #504FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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