#504FBD#504FBD

#504FBD is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.2% C 0.168 H 278.6°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#504FBD
RGBrgb(80, 79, 189)
HSLhsl(241, 45%, 53%)
HSVhsv(241, 58%, 74%)
CMYKcmyk(57.7%, 58.2%, 0%, 25.9%)
CIE-LABlab(39.53, 32.55, -57.99)
CIE-LCHlch(39.53, 66.50, 299.31°)
OKLaboklab(49.19% 0.0253 -0.1664)
OKLCHoklch(49.19% 0.168 278.6)
XYZxyz(15.2866, 10.9705, 49.4462)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504FBD #BCBD4F
analogous
#4F85BD #504FBD #874FBD
triadic
#504FBD #BD504F #4FBD50
tetradic
#504FBD #BD4F85 #BCBD4F #4FBD87
square
#504FBD #BD4F85 #BCBD4F #4FBD87
split-complementary
#504FBD #BD874F #85BD4F
monochromatic
#28286A #393896 #504FBD #7C7CCE #A9A8DE

Accessibility & contrast

On white

6.57
#504FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#504FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504FBD
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504FBD#FFFFFF#000000##FFFFFF
##504FBD1.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#0059BB
Tritanopia (blue-blind)
#0C697E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #504fbd;
/* rgb */ color: rgb(80, 79, 189);
/* oklch */ color: oklch(49.2% 0.168 278.6);
Tailwind
colors: {
  custom: {
    50: '#8b80d2',
    500: '#504fbd',
    950: '#000000',
  },
}
SCSS
$custom: #504fbd;
$custom-light: #8b80d2;
$custom-dark: #000000;
JSON
{
  "hex": "#504fbd",
  "rgb": {
    "r": 80,
    "g": 79,
    "b": 189
  },
  "hsl": {
    "h": 240.545,
    "s": 45.455,
    "l": 52.549
  },
  "oklch": {
    "l": 0.49187,
    "c": 0.16832,
    "h": 278.6
  },
  "luminance": 0.10972
}

Semantic roles & 50–950 ramp

primary
#504FBD
secondary
#CBCC9C
accent
#D553D4
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #504FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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