#5651DC#5651DC

#5651DC is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.4% C 0.205 H 278.2°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#5651DC
RGBrgb(86, 81, 220)
HSLhsl(242, 67%, 59%)
HSVhsv(242, 63%, 86%)
CMYKcmyk(60.9%, 63.2%, 0%, 13.7%)
CIE-LABlab(42.81, 42.39, -70.54)
CIE-LCHlch(42.81, 82.30, 301.01°)
OKLaboklab(52.45% 0.0294 -0.2031)
OKLCHoklch(52.45% 0.205 278.2)
XYZxyz(19.6943, 13.0291, 69.1733)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5651DC #D7DC51
analogous
#5192DC #5651DC #9C51DC
triadic
#5651DC #DC5651 #51DC56
tetradic
#5651DC #DC5192 #D7DC51 #51DC9C
square
#5651DC #DC5192 #D7DC51 #51DC9C
split-complementary
#5651DC #DC9C51 #92DC51
monochromatic
#221E95 #2E28C8 #5651DC #8784E6 #B9B7F0

Accessibility & contrast

On white

5.82
#5651DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#5651DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5651DC
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5651DC#FFFFFF#000000##FFFFFF
##5651DC1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE0
Deuteranopia (green-blind)
#005FD9
Tritanopia (blue-blind)
#00748F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5651dc;
/* rgb */ color: rgb(86, 81, 220);
/* oklch */ color: oklch(52.4% 0.205 278.2);
Tailwind
colors: {
  custom: {
    50: '#9382e8',
    500: '#5651dc',
    950: '#000000',
  },
}
SCSS
$custom: #5651dc;
$custom-light: #9382e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5651dc",
  "rgb": {
    "r": 86,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 242.158,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.5245,
    "c": 0.20523,
    "h": 278.2
  },
  "luminance": 0.13031
}

Semantic roles & 50–950 ramp

primary
#5651DC
secondary
#DEE0A9
accent
#E93EE3
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5651DC

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

Preview Lab → · Contrast checker → · Palette generator →

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