#5050E2#5050E2

#5050E2 is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.4% C 0.215 H 276.0°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#5050E2
RGBrgb(80, 80, 226)
HSLhsl(240, 72%, 60%)
HSVhsv(240, 65%, 89%)
CMYKcmyk(64.6%, 64.6%, 0%, 11.4%)
CIE-LABlab(42.66, 44.05, -74.21)
CIE-LCHlch(42.66, 86.30, 300.69°)
OKLaboklab(52.39% 0.0225 -0.2141)
OKLCHoklch(52.39% 0.215 276)
XYZxyz(19.8999, 12.9321, 73.3842)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5050E2 #E2E250
analogous
#5099E2 #5050E2 #9950E2
triadic
#5050E2 #E25050 #50E250
tetradic
#5050E2 #E25099 #E2E250 #50E299
square
#5050E2 #E25099 #E2E250 #50E299
split-complementary
#5050E2 #E29950 #99E250
monochromatic
#1A1A9E #2323D2 #5050E2 #8484EB #B9B9F3

Accessibility & contrast

On white

5.85
#5050E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#5050E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5050E2
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5050E2#FFFFFF#000000##FFFFFF
##5050E21.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE7
Deuteranopia (green-blind)
#005EDF
Tritanopia (blue-blind)
#007692
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5050e2;
/* rgb */ color: rgb(80, 80, 226);
/* oklch */ color: oklch(52.4% 0.215 276.0);
Tailwind
colors: {
  custom: {
    50: '#9182ec',
    500: '#5050e2',
    950: '#000000',
  },
}
SCSS
$custom: #5050e2;
$custom-light: #9182ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5050e2",
  "rgb": {
    "r": 80,
    "g": 80,
    "b": 226
  },
  "hsl": {
    "h": 240,
    "s": 71.569,
    "l": 60
  },
  "oklch": {
    "l": 0.52388,
    "c": 0.21524,
    "h": 276
  },
  "luminance": 0.12934
}

Semantic roles & 50–950 ramp

primary
#5050E2
secondary
#E3E3AB
accent
#EE39EE
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5050E2

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

Preview Lab → · Contrast checker → · Palette generator →

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