#504BB6#504BB6

#504BB6 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.9% C 0.164 H 280.3°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#504BB6
RGBrgb(80, 75, 182)
HSLhsl(243, 42%, 50%)
HSVhsv(243, 59%, 71%)
CMYKcmyk(56%, 58.8%, 0%, 28.6%)
CIE-LABlab(38.05, 32.76, -56.28)
CIE-LCHlch(38.05, 65.12, 300.20°)
OKLaboklab(47.93% 0.0294 -0.1614)
OKLCHoklch(47.93% 0.164 280.3)
XYZxyz(14.2652, 10.1141, 45.4474)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504BB6 #B1B64B
analogous
#4B7BB6 #504BB6 #864BB6
triadic
#504BB6 #B6504B #4BB650
tetradic
#504BB6 #B64B7B #B1B64B #4BB686
square
#504BB6 #B64B7B #B1B64B #4BB686
split-complementary
#504BB6 #B6864B #7BB64B
monochromatic
#292760 #3C388B #504BB6 #7A77C8 #A5A2D9

Accessibility & contrast

On white

6.95
#504BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#504BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504BB6
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504BB6#FFFFFF#000000##FFFFFF
##504BB61.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBA
Deuteranopia (green-blind)
#0056B4
Tritanopia (blue-blind)
#1C6479
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #504bb6;
/* rgb */ color: rgb(80, 75, 182);
/* oklch */ color: oklch(47.9% 0.164 280.3);
Tailwind
colors: {
  custom: {
    50: '#8a7dcd',
    500: '#504bb6',
    950: '#000000',
  },
}
SCSS
$custom: #504bb6;
$custom-light: #8a7dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#504bb6",
  "rgb": {
    "r": 80,
    "g": 75,
    "b": 182
  },
  "hsl": {
    "h": 242.804,
    "s": 42.292,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47927,
    "c": 0.16408,
    "h": 280.3
  },
  "luminance": 0.10115
}

Semantic roles & 50–950 ramp

primary
#504BB6
secondary
#C4C697
accent
#D256CC
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0913
muted
#7D7B82

Preview Lab

Preview with #504BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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