#5651BC#5651BC

#5651BC is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.9% C 0.163 H 280.8°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#5651BC
RGBrgb(86, 81, 188)
HSLhsl(243, 44%, 53%)
HSVhsv(243, 57%, 74%)
CMYKcmyk(54.3%, 56.9%, 0%, 26.3%)
CIE-LABlab(40.40, 32.14, -55.97)
CIE-LCHlch(40.40, 64.54, 299.86°)
OKLaboklab(49.92% 0.0306 -0.1603)
OKLCHoklch(49.92% 0.163 280.8)
XYZxyz(15.8545, 11.4932, 48.9502)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5651BC #B7BC51
analogous
#5181BC #5651BC #8C51BC
triadic
#5651BC #BC5651 #51BC56
tetradic
#5651BC #BC5181 #B7BC51 #51BC8C
square
#5651BC #BC5181 #B7BC51 #51BC8C
split-complementary
#5651BC #BC8C51 #81BC51
monochromatic
#2C296A #3E3A96 #5651BC #817DCD #ACA9DE

Accessibility & contrast

On white

6.37
#5651BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#5651BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5651BC
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5651BC#FFFFFF#000000##FFFFFF
##5651BC1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#005BBA
Tritanopia (blue-blind)
#276A7E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5651bc;
/* rgb */ color: rgb(86, 81, 188);
/* oklch */ color: oklch(49.9% 0.163 280.8);
Tailwind
colors: {
  custom: {
    50: '#8e82d1',
    500: '#5651bc',
    950: '#000000',
  },
}
SCSS
$custom: #5651bc;
$custom-light: #8e82d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5651bc",
  "rgb": {
    "r": 86,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 242.804,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.49923,
    "c": 0.16319,
    "h": 280.8
  },
  "luminance": 0.11494
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5651BC

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

Preview Lab → · Contrast checker → · Palette generator →

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