#5050CA#5050CA

#5050CA is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.4% C 0.184 H 277.5°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#5050CA
RGBrgb(80, 80, 202)
HSLhsl(240, 54%, 55%)
HSVhsv(240, 60%, 79%)
CMYKcmyk(60.4%, 60.4%, 0%, 20.8%)
CIE-LABlab(40.74, 36.21, -63.58)
CIE-LCHlch(40.74, 73.16, 299.66°)
OKLaboklab(50.39% 0.024 -0.1828)
OKLCHoklch(50.39% 0.184 277.5)
XYZxyz(16.8342, 11.7058, 57.2380)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5050CA #CACA50
analogous
#508DCA #5050CA #8D50CA
triadic
#5050CA #CA5050 #50CA50
tetradic
#5050CA #CA508D #CACA50 #50CA8D
square
#5050CA #CA508D #CACA50 #50CA8D
split-complementary
#5050CA #CA8D50 #8DCA50
monochromatic
#25257A #3333A9 #5050CA #7F7FD8 #AEAEE6

Accessibility & contrast

On white

6.28
#5050CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5050CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5050CA
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5050CA#FFFFFF#000000##FFFFFF
##5050CA1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#005BC8
Tritanopia (blue-blind)
#006E85
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5050ca;
/* rgb */ color: rgb(80, 80, 202);
/* oklch */ color: oklch(50.4% 0.184 277.5);
Tailwind
colors: {
  custom: {
    50: '#8d81db',
    500: '#5050ca',
    950: '#000000',
  },
}
SCSS
$custom: #5050ca;
$custom-light: #8d81db;
$custom-dark: #000000;
JSON
{
  "hex": "#5050ca",
  "rgb": {
    "r": 80,
    "g": 80,
    "b": 202
  },
  "hsl": {
    "h": 240,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5039,
    "c": 0.18441,
    "h": 277.5
  },
  "luminance": 0.11707
}

Semantic roles & 50–950 ramp

primary
#5050CA
secondary
#D4D4A1
accent
#DD4BDD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #5050CA

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

Preview Lab → · Contrast checker → · Palette generator →

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