#504DFC#504DFC

#504DFC is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 54.3% C 0.250 H 274.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#504DFC
RGBrgb(80, 77, 252)
HSLhsl(241, 97%, 65%)
HSVhsv(241, 69%, 99%)
CMYKcmyk(68.3%, 69.4%, 0%, 1.2%)
CIE-LABlab(44.29, 54.07, -86.18)
CIE-LCHlch(44.29, 101.74, 302.10°)
OKLaboklab(54.25% 0.0214 -0.2491)
OKLCHoklch(54.25% 0.25 274.9)
XYZxyz(23.5270, 14.0393, 93.5466)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504DFC #F9FC4D
analogous
#4DA1FC #504DFC #A84DFC
triadic
#504DFC #FC504D #4DFC50
tetradic
#504DFC #FC4DA1 #F9FC4D #4DFCA8
square
#504DFC #FC4DA1 #F9FC4D #4DFCA8
split-complementary
#504DFC #FCA84D #A1FC4D
monochromatic
#0703CB #1511FB #504DFC #8B89FD #C6C5FE

Accessibility & contrast

On white

5.51
#504DFC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#504DFC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504DFC
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504DFC#FFFFFF#000000##FFFFFF
##504DFC1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071FF
Deuteranopia (green-blind)
#0061F9
Tritanopia (blue-blind)
#007D9F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #504dfc;
/* rgb */ color: rgb(80, 77, 252);
/* oklch */ color: oklch(54.3% 0.250 274.9);
Tailwind
colors: {
  custom: {
    50: '#9780ff',
    500: '#504dfc',
    950: '#000000',
  },
}
SCSS
$custom: #504dfc;
$custom-light: #9780ff;
$custom-dark: #000000;
JSON
{
  "hex": "#504dfc",
  "rgb": {
    "r": 80,
    "g": 77,
    "b": 252
  },
  "hsl": {
    "h": 241.029,
    "s": 96.685,
    "l": 64.51
  },
  "oklch": {
    "l": 0.54254,
    "c": 0.25,
    "h": 274.9
  },
  "luminance": 0.14042
}

Semantic roles & 50–950 ramp

primary
#504DFC
secondary
#F0F1B4
accent
#E600E2
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#0F0A18
muted
#7F7C86

Preview Lab

Preview with #504DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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