#5651CF#5651CF

#5651CF is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.4% C 0.189 H 279.2°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#5651CF
RGBrgb(86, 81, 207)
HSLhsl(242, 57%, 56%)
HSVhsv(242, 61%, 81%)
CMYKcmyk(58.5%, 60.9%, 0%, 18.8%)
CIE-LABlab(41.79, 38.23, -64.74)
CIE-LCHlch(41.79, 75.18, 300.56°)
OKLaboklab(51.39% 0.0302 -0.1861)
OKLCHoklch(51.39% 0.189 279.2)
XYZxyz(18.0391, 12.3670, 60.4559)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5651CF #CACF51
analogous
#518BCF #5651CF #9551CF
triadic
#5651CF #CF5651 #51CF56
tetradic
#5651CF #CF518B #CACF51 #51CF95
square
#5651CF #CF518B #CACF51 #51CF95
split-complementary
#5651CF #CF9551 #8BCF51
monochromatic
#282482 #3631B2 #5651CF #8581DC #B3B1E9

Accessibility & contrast

On white

6.05
#5651CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5651CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5651CF
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5651CF#FFFFFF#000000##FFFFFF
##5651CF1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#005ECC
Tritanopia (blue-blind)
#007088
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5651cf;
/* rgb */ color: rgb(86, 81, 207);
/* oklch */ color: oklch(51.4% 0.189 279.2);
Tailwind
colors: {
  custom: {
    50: '#9182df',
    500: '#5651cf',
    950: '#000000',
  },
}
SCSS
$custom: #5651cf;
$custom-light: #9182df;
$custom-dark: #000000;
JSON
{
  "hex": "#5651cf",
  "rgb": {
    "r": 86,
    "g": 81,
    "b": 207
  },
  "hsl": {
    "h": 242.381,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51392,
    "c": 0.18851,
    "h": 279.2
  },
  "luminance": 0.12368
}

Semantic roles & 50–950 ramp

primary
#5651CF
secondary
#D6D8A4
accent
#E048DA
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5651CF

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

Preview Lab → · Contrast checker → · Palette generator →

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