#5351DC#5351DC

#5351DC is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.2% C 0.206 H 277.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#5351DC
RGBrgb(83, 81, 220)
HSLhsl(241, 67%, 59%)
HSVhsv(241, 63%, 86%)
CMYKcmyk(62.3%, 63.2%, 0%, 13.7%)
CIE-LABlab(42.60, 41.94, -70.89)
CIE-LCHlch(42.60, 82.37, 300.61°)
OKLaboklab(52.24% 0.0258 -0.2042)
OKLCHoklch(52.24% 0.206 277.2)
XYZxyz(19.4238, 12.8896, 69.1606)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5351DC #DADC51
analogous
#5195DC #5351DC #9951DC
triadic
#5351DC #DC5351 #51DC53
tetradic
#5351DC #DC5195 #DADC51 #51DC99
square
#5351DC #DC5195 #DADC51 #51DC99
split-complementary
#5351DC #DC9951 #95DC51
monochromatic
#201E95 #2A28C8 #5351DC #8584E6 #B8B7F0

Accessibility & contrast

On white

5.87
#5351DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#5351DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5351DC
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5351DC#FFFFFF#000000##FFFFFF
##5351DC1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE0
Deuteranopia (green-blind)
#005FD9
Tritanopia (blue-blind)
#00748F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5351dc;
/* rgb */ color: rgb(83, 81, 220);
/* oklch */ color: oklch(52.2% 0.206 277.2);
Tailwind
colors: {
  custom: {
    50: '#9282e8',
    500: '#5351dc',
    950: '#000000',
  },
}
SCSS
$custom: #5351dc;
$custom-light: #9282e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5351dc",
  "rgb": {
    "r": 83,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 240.863,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52242,
    "c": 0.20586,
    "h": 277.2
  },
  "luminance": 0.12891
}

Semantic roles & 50–950 ramp

primary
#5351DC
secondary
#DFE0A9
accent
#E93EE7
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5351DC

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

Preview Lab → · Contrast checker → · Palette generator →

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