#504CFF#504CFF

#504CFF is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 54.4% C 0.255 H 274.8°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#504CFF
RGBrgb(80, 76, 255)
HSLhsl(241, 100%, 65%)
HSVhsv(241, 70%, 100%)
CMYKcmyk(68.6%, 70.2%, 0%, 0%)
CIE-LABlab(44.36, 55.56, -87.73)
CIE-LCHlch(44.36, 103.85, 302.34°)
OKLaboklab(54.39% 0.0215 -0.2536)
OKLCHoklch(54.39% 0.255 274.8)
XYZxyz(23.9367, 14.0921, 96.0469)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504CFF #FBFF4C
analogous
#4CA1FF #504CFF #AA4CFF
triadic
#504CFF #FF504C #4CFF50
tetradic
#504CFF #FF4CA1 #FBFF4C #4CFFAA
square
#504CFF #FF4CA1 #FBFF4C #4CFFAA
split-complementary
#504CFF #FFAA4C #A1FF4C
monochromatic
#0500D1 #140FFF #504CFF #8C89FF #C8C6FF

Accessibility & contrast

On white

5.50
#504CFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#504CFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504CFF
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504CFF#FFFFFF#000000##FFFFFF
##504CFF1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #504cff;
/* rgb */ color: rgb(80, 76, 255);
/* oklch */ color: oklch(54.4% 0.255 274.8);
Tailwind
colors: {
  custom: {
    50: '#9780ff',
    500: '#504cff',
    950: '#000000',
  },
}
SCSS
$custom: #504cff;
$custom-light: #9780ff;
$custom-dark: #000000;
JSON
{
  "hex": "#504cff",
  "rgb": {
    "r": 80,
    "g": 76,
    "b": 255
  },
  "hsl": {
    "h": 241.341,
    "s": 100,
    "l": 64.902
  },
  "oklch": {
    "l": 0.54391,
    "c": 0.25452,
    "h": 274.8
  },
  "luminance": 0.14094
}

Semantic roles & 50–950 ramp

primary
#504CFF
secondary
#F1F2B5
accent
#E600E0
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A18
muted
#7F7C86

Preview Lab

Preview with #504CFF

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

Preview Lab → · Contrast checker → · Palette generator →

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