#5050C8#5050C8

#5050C8 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.2% C 0.182 H 277.6°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#5050C8
RGBrgb(80, 80, 200)
HSLhsl(240, 52%, 55%)
HSVhsv(240, 60%, 78%)
CMYKcmyk(60%, 60%, 0%, 21.6%)
CIE-LABlab(40.59, 35.55, -62.67)
CIE-LCHlch(40.59, 72.05, 299.56°)
OKLaboklab(50.23% 0.0241 -0.1802)
OKLCHoklch(50.23% 0.182 277.6)
XYZxyz(16.5989, 11.6117, 55.9990)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5050C8 #C8C850
analogous
#508CC8 #5050C8 #8C50C8
triadic
#5050C8 #C85050 #50C850
tetradic
#5050C8 #C8508C #C8C850 #50C88C
square
#5050C8 #C8508C #C8C850 #50C88C
split-complementary
#5050C8 #C88C50 #8CC850
monochromatic
#262678 #3434A6 #5050C8 #7F7FD7 #ADADE5

Accessibility & contrast

On white

6.32
#5050C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5050C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5050C8
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5050C8#FFFFFF#000000##FFFFFF
##5050C81.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#005BC6
Tritanopia (blue-blind)
#006D84
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5050c8;
/* rgb */ color: rgb(80, 80, 200);
/* oklch */ color: oklch(50.2% 0.182 277.6);
Tailwind
colors: {
  custom: {
    50: '#8d81da',
    500: '#5050c8',
    950: '#000000',
  },
}
SCSS
$custom: #5050c8;
$custom-light: #8d81da;
$custom-dark: #000000;
JSON
{
  "hex": "#5050c8",
  "rgb": {
    "r": 80,
    "g": 80,
    "b": 200
  },
  "hsl": {
    "h": 240,
    "s": 52.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5023,
    "c": 0.18178,
    "h": 277.6
  },
  "luminance": 0.11613
}

Semantic roles & 50–950 ramp

primary
#5050C8
secondary
#D3D3A1
accent
#DC4CDC
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #5050C8

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

Preview Lab → · Contrast checker → · Palette generator →

#5050C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva