#504AC3#504AC3

#504AC3 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.8% C 0.183 H 279.4°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#504AC3
RGBrgb(80, 74, 195)
HSLhsl(243, 50%, 53%)
HSVhsv(243, 62%, 76%)
CMYKcmyk(59%, 62.1%, 0%, 23.5%)
CIE-LABlab(38.80, 37.58, -62.68)
CIE-LCHlch(38.80, 73.08, 300.95°)
OKLaboklab(48.79% 0.0299 -0.1802)
OKLCHoklch(48.79% 0.183 279.4)
XYZxyz(15.6042, 10.5421, 52.8317)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504AC3 #BDC34A
analogous
#4A81C3 #504AC3 #8C4AC3
triadic
#504AC3 #C3504A #4AC350
tetradic
#504AC3 #C34A81 #BDC34A #4AC38C
square
#504AC3 #C34A81 #BDC34A #4AC38C
split-complementary
#504AC3 #C38C4A #81C34A
monochromatic
#28246E #39349C #504AC3 #7C78D2 #A9A6E1

Accessibility & contrast

On white

6.76
#504AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#504AC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504AC3
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504AC3#FFFFFF#000000##FFFFFF
##504AC31.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C7
Deuteranopia (green-blind)
#0057C1
Tritanopia (blue-blind)
#00687F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #504ac3;
/* rgb */ color: rgb(80, 74, 195);
/* oklch */ color: oklch(48.8% 0.183 279.4);
Tailwind
colors: {
  custom: {
    50: '#8c7dd6',
    500: '#504ac3',
    950: '#000000',
  },
}
SCSS
$custom: #504ac3;
$custom-light: #8c7dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#504ac3",
  "rgb": {
    "r": 80,
    "g": 74,
    "b": 195
  },
  "hsl": {
    "h": 242.975,
    "s": 50.207,
    "l": 52.745
  },
  "oklch": {
    "l": 0.48791,
    "c": 0.1827,
    "h": 279.4
  },
  "luminance": 0.10543
}

Semantic roles & 50–950 ramp

primary
#504AC3
secondary
#CCCF9A
accent
#DA4ED3
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #504AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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