#5351BD#5351BD

#5351BD is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.8% C 0.165 H 279.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#5351BD
RGBrgb(83, 81, 189)
HSLhsl(241, 45%, 53%)
HSVhsv(241, 57%, 74%)
CMYKcmyk(56.1%, 57.1%, 0%, 25.9%)
CIE-LABlab(40.24, 31.88, -56.82)
CIE-LCHlch(40.24, 65.15, 299.29°)
OKLaboklab(49.77% 0.0269 -0.1629)
OKLCHoklch(49.77% 0.165 279.4)
XYZxyz(15.6921, 11.3969, 49.5072)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5351BD #BBBD51
analogous
#5185BD #5351BD #8951BD
triadic
#5351BD #BD5351 #51BD53
tetradic
#5351BD #BD5185 #BBBD51 #51BD89
square
#5351BD #BD5185 #BBBD51 #51BD89
split-complementary
#5351BD #BD8951 #85BD51
monochromatic
#2A296B #3B3997 #5351BD #7F7DCE #ABAADF

Accessibility & contrast

On white

6.40
#5351BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5351BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5351BD
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5351BD#FFFFFF#000000##FFFFFF
##5351BD1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#005BBB
Tritanopia (blue-blind)
#1C6A7F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5351bd;
/* rgb */ color: rgb(83, 81, 189);
/* oklch */ color: oklch(49.8% 0.165 279.4);
Tailwind
colors: {
  custom: {
    50: '#8c82d2',
    500: '#5351bd',
    950: '#000000',
  },
}
SCSS
$custom: #5351bd;
$custom-light: #8c82d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5351bd",
  "rgb": {
    "r": 83,
    "g": 81,
    "b": 189
  },
  "hsl": {
    "h": 241.111,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.49771,
    "c": 0.1651,
    "h": 279.4
  },
  "luminance": 0.11398
}

Semantic roles & 50–950 ramp

primary
#5351BD
secondary
#CBCC9E
accent
#D553D2
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #5351BD

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

Preview Lab → · Contrast checker → · Palette generator →

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