#5651BD#5651BD

#5651BD is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.0% C 0.165 H 280.7°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#5651BD
RGBrgb(86, 81, 189)
HSLhsl(243, 45%, 53%)
HSVhsv(243, 57%, 74%)
CMYKcmyk(54.5%, 57.1%, 0%, 25.9%)
CIE-LABlab(40.47, 32.46, -56.44)
CIE-LCHlch(40.47, 65.11, 299.90°)
OKLaboklab(50% 0.0306 -0.1617)
OKLCHoklch(50% 0.165 280.7)
XYZxyz(15.9626, 11.5364, 49.5199)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5651BD #B8BD51
analogous
#5182BD #5651BD #8C51BD
triadic
#5651BD #BD5651 #51BD56
tetradic
#5651BD #BD5182 #B8BD51 #51BD8C
square
#5651BD #BD5182 #B8BD51 #51BD8C
split-complementary
#5651BD #BD8C51 #82BD51
monochromatic
#2C296B #3E3997 #5651BD #817DCE #ACAADF

Accessibility & contrast

On white

6.35
#5651BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5651BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5651BD
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5651BD#FFFFFF#000000##FFFFFF
##5651BD1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5651bd;
/* rgb */ color: rgb(86, 81, 189);
/* oklch */ color: oklch(50.0% 0.165 280.7);
Tailwind
colors: {
  custom: {
    50: '#8e82d2',
    500: '#5651bd',
    950: '#000000',
  },
}
SCSS
$custom: #5651bd;
$custom-light: #8e82d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5651bd",
  "rgb": {
    "r": 86,
    "g": 81,
    "b": 189
  },
  "hsl": {
    "h": 242.778,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.49998,
    "c": 0.16456,
    "h": 280.7
  },
  "luminance": 0.11537
}

Semantic roles & 50–950 ramp

primary
#5651BD
secondary
#CACC9E
accent
#D553CF
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #5651BD

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

Preview Lab → · Contrast checker → · Palette generator →

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