#504BFC#504BFC

#504BFC is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 54.0% C 0.252 H 275.1°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#504BFC
RGBrgb(80, 75, 252)
HSLhsl(242, 97%, 64%)
HSVhsv(242, 70%, 99%)
CMYKcmyk(68.3%, 70.2%, 0%, 1.2%)
CIE-LABlab(43.89, 55.17, -86.84)
CIE-LCHlch(43.89, 102.88, 302.43°)
OKLaboklab(53.97% 0.0225 -0.251)
OKLCHoklch(53.97% 0.252 275.1)
XYZxyz(23.3892, 13.7637, 93.5006)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504BFC #F7FC4B
analogous
#4B9FFC #504BFC #A94BFC
triadic
#504BFC #FC504B #4BFC50
tetradic
#504BFC #FC4B9F #F7FC4B #4BFCA9
square
#504BFC #FC4B9F #F7FC4B #4BFCA9
split-complementary
#504BFC #FCA94B #9FFC4B
monochromatic
#0903C9 #150FFB #504BFC #8B87FD #C5C3FE

Accessibility & contrast

On white

5.60
#504BFC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#504BFC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504BFC
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504BFC#FFFFFF#000000##FFFFFF
##504BFC1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070FF
Deuteranopia (green-blind)
#0060F9
Tritanopia (blue-blind)
#007C9F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #504bfc;
/* rgb */ color: rgb(80, 75, 252);
/* oklch */ color: oklch(54.0% 0.252 275.1);
Tailwind
colors: {
  custom: {
    50: '#977fff',
    500: '#504bfc',
    950: '#000000',
  },
}
SCSS
$custom: #504bfc;
$custom-light: #977fff;
$custom-dark: #000000;
JSON
{
  "hex": "#504bfc",
  "rgb": {
    "r": 80,
    "g": 75,
    "b": 252
  },
  "hsl": {
    "h": 241.695,
    "s": 96.721,
    "l": 64.118
  },
  "oklch": {
    "l": 0.5397,
    "c": 0.252,
    "h": 275.1
  },
  "luminance": 0.13766
}

Semantic roles & 50–950 ramp

primary
#504BFC
secondary
#EFF0B3
accent
#E600DF
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#0F0A18
muted
#7F7C86

Preview Lab

Preview with #504BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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