#5651DF#5651DF

#5651DF is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.7% C 0.209 H 278.0°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#5651DF
RGBrgb(86, 81, 223)
HSLhsl(242, 69%, 60%)
HSVhsv(242, 64%, 87%)
CMYKcmyk(61.4%, 63.7%, 0%, 12.5%)
CIE-LABlab(43.05, 43.35, -71.86)
CIE-LCHlch(43.05, 83.92, 301.10°)
OKLaboklab(52.7% 0.0291 -0.207)
OKLCHoklch(52.7% 0.209 278)
XYZxyz(20.0952, 13.1894, 71.2846)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5651DF #DADF51
analogous
#5193DF #5651DF #9D51DF
triadic
#5651DF #DF5651 #51DF56
tetradic
#5651DF #DF5193 #DADF51 #51DF9D
square
#5651DF #DF5193 #DADF51 #51DF9D
split-complementary
#5651DF #DF9D51 #93DF51
monochromatic
#211C99 #2C26CD #5651DF #8885E9 #BAB8F2

Accessibility & contrast

On white

5.77
#5651DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#5651DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5651DF
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5651DF#FFFFFF#000000##FFFFFF
##5651DF1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE3
Deuteranopia (green-blind)
#0060DC
Tritanopia (blue-blind)
#007591
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5651df;
/* rgb */ color: rgb(86, 81, 223);
/* oklch */ color: oklch(52.7% 0.209 278.0);
Tailwind
colors: {
  custom: {
    50: '#9482ea',
    500: '#5651df',
    950: '#000000',
  },
}
SCSS
$custom: #5651df;
$custom-light: #9482ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5651df",
  "rgb": {
    "r": 86,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 242.113,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.527,
    "c": 0.20903,
    "h": 278
  },
  "luminance": 0.13191
}

Semantic roles & 50–950 ramp

primary
#5651DF
secondary
#E0E1AA
accent
#EC3CE6
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5651DF

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

Preview Lab → · Contrast checker → · Palette generator →

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