#504BCC#504BCC

#504BCC is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.7% C 0.193 H 278.4°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#504BCC
RGBrgb(80, 75, 204)
HSLhsl(242, 56%, 55%)
HSVhsv(242, 63%, 80%)
CMYKcmyk(60.8%, 63.2%, 0%, 20%)
CIE-LABlab(39.74, 39.89, -66.37)
CIE-LCHlch(39.74, 77.43, 301.01°)
OKLaboklab(49.7% 0.0283 -0.1911)
OKLCHoklch(49.7% 0.193 278.4)
XYZxyz(16.7199, 11.0960, 58.3757)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504BCC #C7CC4B
analogous
#4B86CC #504BCC #914BCC
triadic
#504BCC #CC504B #4BCC50
tetradic
#504BCC #CC4B86 #C7CC4B #4BCC91
square
#504BCC #CC4B86 #C7CC4B #4BCC91
split-complementary
#504BCC #CC914B #86CC4B
monochromatic
#26237A #3530AA #504BCC #7E7BDA #ADAAE7

Accessibility & contrast

On white

6.52
#504BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#504BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504BCC
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504BCC#FFFFFF#000000##FFFFFF
##504BCC1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#0058C9
Tritanopia (blue-blind)
#006B84
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #504bcc;
/* rgb */ color: rgb(80, 75, 204);
/* oklch */ color: oklch(49.7% 0.193 278.4);
Tailwind
colors: {
  custom: {
    50: '#8e7edd',
    500: '#504bcc',
    950: '#000000',
  },
}
SCSS
$custom: #504bcc;
$custom-light: #8e7edd;
$custom-dark: #000000;
JSON
{
  "hex": "#504bcc",
  "rgb": {
    "r": 80,
    "g": 75,
    "b": 204
  },
  "hsl": {
    "h": 242.326,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.49704,
    "c": 0.19316,
    "h": 278.4
  },
  "luminance": 0.11097
}

Semantic roles & 50–950 ramp

primary
#504BCC
secondary
#D2D59E
accent
#DF49D9
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #504BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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