#504EBF#504EBF

#504EBF is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.2% C 0.172 H 278.8°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#504EBF
RGBrgb(80, 78, 191)
HSLhsl(241, 47%, 53%)
HSVhsv(241, 59%, 75%)
CMYKcmyk(58.1%, 59.2%, 0%, 25.1%)
CIE-LABlab(39.44, 33.83, -59.31)
CIE-LCHlch(39.44, 68.28, 299.70°)
OKLaboklab(49.16% 0.0262 -0.1703)
OKLCHoklch(49.16% 0.172 278.8)
XYZxyz(15.4336, 10.9148, 50.5736)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504EBF #BDBF4E
analogous
#4E84BF #504EBF #884EBF
triadic
#504EBF #BF504E #4EBF50
tetradic
#504EBF #BF4E84 #BDBF4E #4EBF88
square
#504EBF #BF4E84 #BDBF4E #4EBF88
split-complementary
#504EBF #BF884E #84BF4E
monochromatic
#28276C #393799 #504EBF #7C7BCF #A9A8E0

Accessibility & contrast

On white

6.60
#504EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#504EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504EBF
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504EBF#FFFFFF#000000##FFFFFF
##504EBF1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#0058BD
Tritanopia (blue-blind)
#06697F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #504ebf;
/* rgb */ color: rgb(80, 78, 191);
/* oklch */ color: oklch(49.2% 0.172 278.8);
Tailwind
colors: {
  custom: {
    50: '#8b80d3',
    500: '#504ebf',
    950: '#000000',
  },
}
SCSS
$custom: #504ebf;
$custom-light: #8b80d3;
$custom-dark: #000000;
JSON
{
  "hex": "#504ebf",
  "rgb": {
    "r": 80,
    "g": 78,
    "b": 191
  },
  "hsl": {
    "h": 241.062,
    "s": 46.888,
    "l": 52.745
  },
  "oklch": {
    "l": 0.49164,
    "c": 0.17231,
    "h": 278.8
  },
  "luminance": 0.10916
}

Semantic roles & 50–950 ramp

primary
#504EBF
secondary
#CCCD9C
accent
#D751D4
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #504EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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