#5351CB#5351CB

#5351CB is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.9% C 0.184 H 278.3°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#5351CB
RGBrgb(83, 81, 203)
HSLhsl(241, 54%, 56%)
HSVhsv(241, 60%, 80%)
CMYKcmyk(59.1%, 60.1%, 0%, 20.4%)
CIE-LABlab(41.27, 36.43, -63.29)
CIE-LCHlch(41.27, 73.02, 299.92°)
OKLaboklab(50.86% 0.0267 -0.1819)
OKLCHoklch(50.86% 0.184 278.3)
XYZxyz(17.2858, 12.0344, 57.9003)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5351CB #C9CB51
analogous
#518CCB #5351CB #9051CB
triadic
#5351CB #CB5351 #51CB53
tetradic
#5351CB #CB518C #C9CB51 #51CB90
square
#5351CB #CB518C #C9CB51 #51CB90
split-complementary
#5351CB #CB9051 #8CCB51
monochromatic
#27257C #3533AC #5351CB #8280D9 #B0AFE7

Accessibility & contrast

On white

6.16
#5351CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#5351CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5351CB
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5351CB#FFFFFF#000000##FFFFFF
##5351CB1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#005CC9
Tritanopia (blue-blind)
#006F86
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5351cb;
/* rgb */ color: rgb(83, 81, 203);
/* oklch */ color: oklch(50.9% 0.184 278.3);
Tailwind
colors: {
  custom: {
    50: '#8f82dc',
    500: '#5351cb',
    950: '#000000',
  },
}
SCSS
$custom: #5351cb;
$custom-light: #8f82dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5351cb",
  "rgb": {
    "r": 83,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 240.984,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50856,
    "c": 0.18386,
    "h": 278.3
  },
  "luminance": 0.12036
}

Semantic roles & 50–950 ramp

primary
#5351CB
secondary
#D4D5A3
accent
#DD4ADB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #5351CB

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

Preview Lab → · Contrast checker → · Palette generator →

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