#504FC3#504FC3

#504FC3 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.7% C 0.176 H 278.2°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#504FC3
RGBrgb(80, 79, 195)
HSLhsl(241, 49%, 54%)
HSVhsv(241, 59%, 76%)
CMYKcmyk(59%, 59.5%, 0%, 23.5%)
CIE-LABlab(39.98, 34.52, -60.76)
CIE-LCHlch(39.98, 69.89, 299.60°)
OKLaboklab(49.66% 0.0252 -0.1746)
OKLCHoklch(49.66% 0.176 278.2)
XYZxyz(15.9514, 11.2364, 52.9474)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504FC3 #C2C34F
analogous
#4F88C3 #504FC3 #8A4FC3
triadic
#504FC3 #C3504F #4FC350
tetradic
#504FC3 #C34F88 #C2C34F #4FC38A
square
#504FC3 #C34F88 #C2C34F #4FC38A
split-complementary
#504FC3 #C38A4F #88C34F
monochromatic
#272771 #37369F #504FC3 #7D7DD3 #ABAAE2

Accessibility & contrast

On white

6.47
#504FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#504FC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504FC3
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504FC3#FFFFFF#000000##FFFFFF
##504FC31.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C7
Deuteranopia (green-blind)
#0059C1
Tritanopia (blue-blind)
#006B81
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #504fc3;
/* rgb */ color: rgb(80, 79, 195);
/* oklch */ color: oklch(49.7% 0.176 278.2);
Tailwind
colors: {
  custom: {
    50: '#8c80d6',
    500: '#504fc3',
    950: '#000000',
  },
}
SCSS
$custom: #504fc3;
$custom-light: #8c80d6;
$custom-dark: #000000;
JSON
{
  "hex": "#504fc3",
  "rgb": {
    "r": 80,
    "g": 79,
    "b": 195
  },
  "hsl": {
    "h": 240.517,
    "s": 49.153,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49657,
    "c": 0.17639,
    "h": 278.2
  },
  "luminance": 0.11238
}

Semantic roles & 50–950 ramp

primary
#504FC3
secondary
#CFD09E
accent
#D94FD8
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #504FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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