#5651BE#5651BE

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

Color values

HEX#5651BE
RGBrgb(86, 81, 190)
HSLhsl(243, 46%, 53%)
HSVhsv(243, 57%, 75%)
CMYKcmyk(54.7%, 57.4%, 0%, 25.5%)
CIE-LABlab(40.54, 32.78, -56.91)
CIE-LCHlch(40.54, 65.68, 299.94°)
OKLaboklab(50.07% 0.0306 -0.1631)
OKLCHoklch(50.07% 0.166 280.6)
XYZxyz(16.0716, 11.5800, 50.0935)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5651BE #B9BE51
analogous
#5182BE #5651BE #8C51BE
triadic
#5651BE #BE5651 #51BE56
tetradic
#5651BE #BE5182 #B9BE51 #51BE8C
square
#5651BE #BE5182 #B9BE51 #51BE8C
split-complementary
#5651BE #BE8C51 #82BE51
monochromatic
#2C286C #3D3999 #5651BE #817ECF #ADAADF

Accessibility & contrast

On white

6.33
#5651BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5651BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5651BE
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5651BE#FFFFFF#000000##FFFFFF
##5651BE1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#005BBC
Tritanopia (blue-blind)
#256A7F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5651be;
/* rgb */ color: rgb(86, 81, 190);
/* oklch */ color: oklch(50.1% 0.166 280.6);
Tailwind
colors: {
  custom: {
    50: '#8e82d2',
    500: '#5651be',
    950: '#000000',
  },
}
SCSS
$custom: #5651be;
$custom-light: #8e82d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5651be",
  "rgb": {
    "r": 86,
    "g": 81,
    "b": 190
  },
  "hsl": {
    "h": 242.752,
    "s": 45.607,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50073,
    "c": 0.16591,
    "h": 280.6
  },
  "luminance": 0.11581
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5651BE

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

Preview Lab → · Contrast checker → · Palette generator →

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