#504FCC#504FCC

#504FCC is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.4% C 0.188 H 277.6°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#504FCC
RGBrgb(80, 79, 204)
HSLhsl(240, 55%, 55%)
HSVhsv(240, 61%, 80%)
CMYKcmyk(60.8%, 61.3%, 0%, 20%)
CIE-LABlab(40.66, 37.47, -64.87)
CIE-LCHlch(40.66, 74.91, 300.01°)
OKLaboklab(50.38% 0.0249 -0.1866)
OKLCHoklch(50.38% 0.188 277.6)
XYZxyz(16.9998, 11.6558, 58.4690)
Luminance0.1166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504FCC #CBCC4F
analogous
#4F8CCC #504FCC #8E4FCC
triadic
#504FCC #CC504F #4FCC50
tetradic
#504FCC #CC4F8C #CBCC4F #4FCC8E
square
#504FCC #CC4F8C #CBCC4F #4FCC8E
split-complementary
#504FCC #CC8E4F #8CCC4F
monochromatic
#25247D #3332AC #504FCC #7F7EDA #AEAEE7

Accessibility & contrast

On white

6.30
#504FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#504FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504FCC
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504FCC#FFFFFF#000000##FFFFFF
##504FCC1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#005BCA
Tritanopia (blue-blind)
#006E86
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #504fcc;
/* rgb */ color: rgb(80, 79, 204);
/* oklch */ color: oklch(50.4% 0.188 277.6);
Tailwind
colors: {
  custom: {
    50: '#8e80dc',
    500: '#504fcc',
    950: '#000000',
  },
}
SCSS
$custom: #504fcc;
$custom-light: #8e80dc;
$custom-dark: #000000;
JSON
{
  "hex": "#504fcc",
  "rgb": {
    "r": 80,
    "g": 79,
    "b": 204
  },
  "hsl": {
    "h": 240.48,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.50379,
    "c": 0.18828,
    "h": 277.6
  },
  "luminance": 0.11657
}

Semantic roles & 50–950 ramp

primary
#504FCC
secondary
#D5D5A1
accent
#DE49DD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #504FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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