#504BC3#504BC3

#504BC3 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 49.0% C 0.181 H 279.2°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#504BC3
RGBrgb(80, 75, 195)
HSLhsl(243, 50%, 53%)
HSVhsv(243, 62%, 76%)
CMYKcmyk(59%, 61.5%, 0%, 23.5%)
CIE-LABlab(39.03, 36.97, -62.30)
CIE-LCHlch(39.03, 72.45, 300.69°)
OKLaboklab(48.96% 0.0289 -0.1791)
OKLCHoklch(48.96% 0.181 279.2)
XYZxyz(15.6715, 10.6766, 52.8542)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504BC3 #BEC34B
analogous
#4B82C3 #504BC3 #8C4BC3
triadic
#504BC3 #C3504B #4BC350
tetradic
#504BC3 #C34B82 #BEC34B #4BC38C
square
#504BC3 #C34B82 #BEC34B #4BC38C
split-complementary
#504BC3 #C38C4B #82C34B
monochromatic
#28256F #39349D #504BC3 #7D79D2 #A9A7E2

Accessibility & contrast

On white

6.70
#504BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#504BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504BC3
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504BC3#FFFFFF#000000##FFFFFF
##504BC31.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #504bc3;
/* rgb */ color: rgb(80, 75, 195);
/* oklch */ color: oklch(49.0% 0.181 279.2);
Tailwind
colors: {
  custom: {
    50: '#8c7ed6',
    500: '#504bc3',
    950: '#000000',
  },
}
SCSS
$custom: #504bc3;
$custom-light: #8c7ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#504bc3",
  "rgb": {
    "r": 80,
    "g": 75,
    "b": 195
  },
  "hsl": {
    "h": 242.5,
    "s": 50,
    "l": 52.941
  },
  "oklch": {
    "l": 0.48961,
    "c": 0.18144,
    "h": 279.2
  },
  "luminance": 0.10678
}

Semantic roles & 50–950 ramp

primary
#504BC3
secondary
#CDCF9B
accent
#DA4ED4
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #504BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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