#5651DA#5651DA

#5651DA is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.3% C 0.203 H 278.4°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#5651DA
RGBrgb(86, 81, 218)
HSLhsl(242, 65%, 59%)
HSVhsv(242, 63%, 85%)
CMYKcmyk(60.6%, 62.8%, 0%, 14.5%)
CIE-LABlab(42.65, 41.75, -69.66)
CIE-LCHlch(42.65, 81.21, 300.94°)
OKLaboklab(52.29% 0.0295 -0.2005)
OKLCHoklch(52.29% 0.203 278.4)
XYZxyz(19.4310, 12.9238, 67.7867)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5651DA #D5DA51
analogous
#5190DA #5651DA #9A51DA
triadic
#5651DA #DA5651 #51DA56
tetradic
#5651DA #DA5190 #D5DA51 #51DA9A
square
#5651DA #DA5190 #D5DA51 #51DA9A
split-complementary
#5651DA #DA9A51 #90DA51
monochromatic
#231F92 #2F2AC4 #5651DA #8783E5 #B8B6EF

Accessibility & contrast

On white

5.86
#5651DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#5651DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5651DA
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5651DA#FFFFFF#000000##FFFFFF
##5651DA1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADE
Deuteranopia (green-blind)
#005FD7
Tritanopia (blue-blind)
#00738E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5651da;
/* rgb */ color: rgb(86, 81, 218);
/* oklch */ color: oklch(52.3% 0.203 278.4);
Tailwind
colors: {
  custom: {
    50: '#9382e6',
    500: '#5651da',
    950: '#000000',
  },
}
SCSS
$custom: #5651da;
$custom-light: #9382e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5651da",
  "rgb": {
    "r": 86,
    "g": 81,
    "b": 218
  },
  "hsl": {
    "h": 242.19,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52285,
    "c": 0.20269,
    "h": 278.4
  },
  "luminance": 0.12925
}

Semantic roles & 50–950 ramp

primary
#5651DA
secondary
#DDDEA8
accent
#E840E2
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5651DA

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

Preview Lab → · Contrast checker → · Palette generator →

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