#5050E7#5050E7

#5050E7 is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.8% C 0.221 H 275.7°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#5050E7
RGBrgb(80, 80, 231)
HSLhsl(240, 76%, 61%)
HSVhsv(240, 65%, 91%)
CMYKcmyk(65.4%, 65.4%, 0%, 9.4%)
CIE-LABlab(43.08, 45.67, -76.36)
CIE-LCHlch(43.08, 88.98, 300.88°)
OKLaboklab(52.82% 0.022 -0.2204)
OKLCHoklch(52.82% 0.221 275.7)
XYZxyz(20.5960, 13.2105, 77.0503)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5050E7 #E7E750
analogous
#509BE7 #5050E7 #9B50E7
triadic
#5050E7 #E75050 #50E750
tetradic
#5050E7 #E7509B #E7E750 #50E79B
square
#5050E7 #E7509B #E7E750 #50E79B
split-complementary
#5050E7 #E79B50 #9BE750
monochromatic
#1717A6 #1E1EDC #5050E7 #8686EE #BCBCF6

Accessibility & contrast

On white

5.77
#5050E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#5050E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5050E7
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5050E7#FFFFFF#000000##FFFFFF
##5050E71.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEC
Deuteranopia (green-blind)
#005FE4
Tritanopia (blue-blind)
#007895
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5050e7;
/* rgb */ color: rgb(80, 80, 231);
/* oklch */ color: oklch(52.8% 0.221 275.7);
Tailwind
colors: {
  custom: {
    50: '#9282f0',
    500: '#5050e7',
    950: '#000000',
  },
}
SCSS
$custom: #5050e7;
$custom-light: #9282f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5050e7",
  "rgb": {
    "r": 80,
    "g": 80,
    "b": 231
  },
  "hsl": {
    "h": 240,
    "s": 75.879,
    "l": 60.98
  },
  "oklch": {
    "l": 0.52821,
    "c": 0.22147,
    "h": 275.7
  },
  "luminance": 0.13212
}

Semantic roles & 50–950 ramp

primary
#5050E7
secondary
#E6E6AD
accent
#D80DD8
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #5050E7

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

Preview Lab → · Contrast checker → · Palette generator →

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