#504BBC#504BBC

#504BBC is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.4% C 0.172 H 279.8°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#504BBC
RGBrgb(80, 75, 188)
HSLhsl(243, 46%, 52%)
HSVhsv(243, 60%, 74%)
CMYKcmyk(57.4%, 60.1%, 0%, 26.3%)
CIE-LABlab(38.49, 34.70, -59.08)
CIE-LCHlch(38.49, 68.52, 300.43°)
OKLaboklab(48.4% 0.0292 -0.1697)
OKLCHoklch(48.4% 0.172 279.8)
XYZxyz(14.8986, 10.3675, 48.7832)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504BBC #B7BC4B
analogous
#4B7FBC #504BBC #894BBC
triadic
#504BBC #BC504B #4BBC50
tetradic
#504BBC #BC4B7F #B7BC4B #4BBC89
square
#504BBC #BC4B7F #B7BC4B #4BBC89
split-complementary
#504BBC #BC894B #7FBC4B
monochromatic
#292666 #3B3793 #504BBC #7B78CD #A7A4DD

Accessibility & contrast

On white

6.83
#504BBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#504BBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504BBC
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504BBC#FFFFFF#000000##FFFFFF
##504BBC1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#0056BA
Tritanopia (blue-blind)
#11667C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #504bbc;
/* rgb */ color: rgb(80, 75, 188);
/* oklch */ color: oklch(48.4% 0.172 279.8);
Tailwind
colors: {
  custom: {
    50: '#8b7dd1',
    500: '#504bbc',
    950: '#000000',
  },
}
SCSS
$custom: #504bbc;
$custom-light: #8b7dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#504bbc",
  "rgb": {
    "r": 80,
    "g": 75,
    "b": 188
  },
  "hsl": {
    "h": 242.655,
    "s": 45.749,
    "l": 51.569
  },
  "oklch": {
    "l": 0.48399,
    "c": 0.17216,
    "h": 279.8
  },
  "luminance": 0.10368
}

Semantic roles & 50–950 ramp

primary
#504BBC
secondary
#C8CA99
accent
#D552D0
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #504BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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