#504CC3#504CC3

#504CC3 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.1% C 0.180 H 278.9°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#504CC3
RGBrgb(80, 76, 195)
HSLhsl(242, 50%, 53%)
HSVhsv(242, 61%, 76%)
CMYKcmyk(59%, 61%, 0%, 23.5%)
CIE-LABlab(39.26, 36.36, -61.92)
CIE-LCHlch(39.26, 71.81, 300.42°)
OKLaboklab(49.13% 0.028 -0.178)
OKLCHoklch(49.13% 0.18 278.9)
XYZxyz(15.7399, 10.8134, 52.8769)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504CC3 #BFC34C
analogous
#4C83C3 #504CC3 #8B4CC3
triadic
#504CC3 #C3504C #4CC350
tetradic
#504CC3 #C34C83 #BFC34C #4CC38B
square
#504CC3 #C34C83 #BFC34C #4CC38B
split-complementary
#504CC3 #C38B4C #83C34C
monochromatic
#28256F #38359D #504CC3 #7D7AD2 #AAA8E2

Accessibility & contrast

On white

6.64
#504CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#504CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504CC3
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504CC3#FFFFFF#000000##FFFFFF
##504CC31.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C7
Deuteranopia (green-blind)
#0058C1
Tritanopia (blue-blind)
#006980
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #504cc3;
/* rgb */ color: rgb(80, 76, 195);
/* oklch */ color: oklch(49.1% 0.180 278.9);
Tailwind
colors: {
  custom: {
    50: '#8c7ed6',
    500: '#504cc3',
    950: '#000000',
  },
}
SCSS
$custom: #504cc3;
$custom-light: #8c7ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#504cc3",
  "rgb": {
    "r": 80,
    "g": 76,
    "b": 195
  },
  "hsl": {
    "h": 242.017,
    "s": 49.791,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49133,
    "c": 0.18019,
    "h": 278.9
  },
  "luminance": 0.10814
}

Semantic roles & 50–950 ramp

primary
#504CC3
secondary
#CDCF9C
accent
#D94ED5
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #504CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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