#5651BB#5651BB

#5651BB is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.8% C 0.162 H 280.9°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#5651BB
RGBrgb(86, 81, 187)
HSLhsl(243, 44%, 53%)
HSVhsv(243, 57%, 73%)
CMYKcmyk(54%, 56.7%, 0%, 26.7%)
CIE-LABlab(40.33, 31.82, -55.50)
CIE-LCHlch(40.33, 63.98, 299.83°)
OKLaboklab(49.85% 0.0306 -0.1589)
OKLCHoklch(49.85% 0.162 280.9)
XYZxyz(15.7470, 11.4502, 48.3844)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5651BB #B6BB51
analogous
#5181BB #5651BB #8B51BB
triadic
#5651BB #BB5651 #51BB56
tetradic
#5651BB #BB5181 #B6BB51 #51BB8B
square
#5651BB #BB5181 #B6BB51 #51BB8B
split-complementary
#5651BB #BB8B51 #81BB51
monochromatic
#2C2969 #3E3A95 #5651BB #817DCC #ABA9DD

Accessibility & contrast

On white

6.38
#5651BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#5651BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5651BB
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5651BB#FFFFFF#000000##FFFFFF
##5651BB1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#28697E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5651bb;
/* rgb */ color: rgb(86, 81, 187);
/* oklch */ color: oklch(49.8% 0.162 280.9);
Tailwind
colors: {
  custom: {
    50: '#8e82d0',
    500: '#5651bb',
    950: '#000000',
  },
}
SCSS
$custom: #5651bb;
$custom-light: #8e82d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5651bb",
  "rgb": {
    "r": 86,
    "g": 81,
    "b": 187
  },
  "hsl": {
    "h": 242.83,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.49848,
    "c": 0.16183,
    "h": 280.9
  },
  "luminance": 0.11451
}

Semantic roles & 50–950 ramp

primary
#5651BB
secondary
#C9CB9D
accent
#D454CE
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #5651BB

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

Preview Lab → · Contrast checker → · Palette generator →

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