#5651BF#5651BF

#5651BF is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.1% C 0.167 H 280.5°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#5651BF
RGBrgb(86, 81, 191)
HSLhsl(243, 46%, 53%)
HSVhsv(243, 58%, 75%)
CMYKcmyk(55%, 57.6%, 0%, 25.1%)
CIE-LABlab(40.61, 33.10, -57.38)
CIE-LCHlch(40.61, 66.24, 299.98°)
OKLaboklab(50.15% 0.0306 -0.1644)
OKLCHoklch(50.15% 0.167 280.5)
XYZxyz(16.1812, 11.6239, 50.6711)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5651BF #BABF51
analogous
#5183BF #5651BF #8D51BF
triadic
#5651BF #BF5651 #51BF56
tetradic
#5651BF #BF5183 #BABF51 #51BF8D
square
#5651BF #BF5183 #BABF51 #51BF8D
split-complementary
#5651BF #BF8D51 #83BF51
monochromatic
#2B286D #3D399A #5651BF #817ECF #ADAAE0

Accessibility & contrast

On white

6.32
#5651BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#5651BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5651BF
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5651BF#FFFFFF#000000##FFFFFF
##5651BF1.006.323.336.32
#FFFFFF6.321.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#246B80
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5651bf;
/* rgb */ color: rgb(86, 81, 191);
/* oklch */ color: oklch(50.1% 0.167 280.5);
Tailwind
colors: {
  custom: {
    50: '#8e82d3',
    500: '#5651bf',
    950: '#000000',
  },
}
SCSS
$custom: #5651bf;
$custom-light: #8e82d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5651bf",
  "rgb": {
    "r": 86,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 242.727,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50148,
    "c": 0.16726,
    "h": 280.5
  },
  "luminance": 0.11625
}

Semantic roles & 50–950 ramp

primary
#5651BF
secondary
#CBCE9E
accent
#D652D0
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #5651BF

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

Preview Lab → · Contrast checker → · Palette generator →

#5651BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva