#5351C8#5351C8

#5351C8 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.6% C 0.180 H 278.6°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#5351C8
RGBrgb(83, 81, 200)
HSLhsl(241, 52%, 55%)
HSVhsv(241, 60%, 78%)
CMYKcmyk(58.5%, 59.5%, 0%, 21.6%)
CIE-LABlab(41.05, 35.45, -61.92)
CIE-LCHlch(41.05, 71.35, 299.79°)
OKLaboklab(50.62% 0.0268 -0.1779)
OKLCHoklch(50.62% 0.18 278.6)
XYZxyz(16.9317, 11.8928, 56.0357)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5351C8 #C6C851
analogous
#518BC8 #5351C8 #8E51C8
triadic
#5351C8 #C85351 #51C853
tetradic
#5351C8 #C8518B #C6C851 #51C88E
square
#5351C8 #C8518B #C6C851 #51C88E
split-complementary
#5351C8 #C88E51 #8BC851
monochromatic
#272679 #3735A7 #5351C8 #8180D7 #AFAEE5

Accessibility & contrast

On white

6.22
#5351C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#5351C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5351C8
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5351C8#FFFFFF#000000##FFFFFF
##5351C81.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#005CC6
Tritanopia (blue-blind)
#006E85
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5351c8;
/* rgb */ color: rgb(83, 81, 200);
/* oklch */ color: oklch(50.6% 0.180 278.6);
Tailwind
colors: {
  custom: {
    50: '#8e82da',
    500: '#5351c8',
    950: '#000000',
  },
}
SCSS
$custom: #5351c8;
$custom-light: #8e82da;
$custom-dark: #000000;
JSON
{
  "hex": "#5351c8",
  "rgb": {
    "r": 83,
    "g": 81,
    "b": 200
  },
  "hsl": {
    "h": 241.008,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.50619,
    "c": 0.17988,
    "h": 278.6
  },
  "luminance": 0.11894
}

Semantic roles & 50–950 ramp

primary
#5351C8
secondary
#D3D3A1
accent
#DB4CD9
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #5351C8

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

Preview Lab → · Contrast checker → · Palette generator →

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