#5350C8#5350C8

#5350C8 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.4% C 0.181 H 278.8°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#5350C8
RGBrgb(83, 80, 200)
HSLhsl(242, 52%, 55%)
HSVhsv(242, 60%, 78%)
CMYKcmyk(58.5%, 60%, 0%, 21.6%)
CIE-LABlab(40.81, 36.06, -62.31)
CIE-LCHlch(40.81, 71.99, 300.06°)
OKLaboklab(50.44% 0.0277 -0.179)
OKLCHoklch(50.44% 0.181 278.8)
XYZxyz(16.8580, 11.7453, 56.0111)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5350C8 #C5C850
analogous
#5089C8 #5350C8 #8F50C8
triadic
#5350C8 #C85350 #50C853
tetradic
#5350C8 #C85089 #C5C850 #50C88F
square
#5350C8 #C85089 #C5C850 #50C88F
split-complementary
#5350C8 #C88F50 #89C850
monochromatic
#282678 #3734A6 #5350C8 #817FD7 #AFADE5

Accessibility & contrast

On white

6.27
#5350C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5350C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5350C8
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5350C8#FFFFFF#000000##FFFFFF
##5350C81.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.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: #5350c8;
/* rgb */ color: rgb(83, 80, 200);
/* oklch */ color: oklch(50.4% 0.181 278.8);
Tailwind
colors: {
  custom: {
    50: '#8e81da',
    500: '#5350c8',
    950: '#000000',
  },
}
SCSS
$custom: #5350c8;
$custom-light: #8e81da;
$custom-dark: #000000;
JSON
{
  "hex": "#5350c8",
  "rgb": {
    "r": 83,
    "g": 80,
    "b": 200
  },
  "hsl": {
    "h": 241.5,
    "s": 52.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50445,
    "c": 0.18115,
    "h": 278.8
  },
  "luminance": 0.11746
}

Semantic roles & 50–950 ramp

primary
#5350C8
secondary
#D2D3A1
accent
#DC4CD8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #5350C8

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

Preview Lab → · Contrast checker → · Palette generator →

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