#5651CC#5651CC

#5651CC is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.2% C 0.185 H 279.4°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#5651CC
RGBrgb(86, 81, 204)
HSLhsl(242, 55%, 56%)
HSVhsv(242, 60%, 80%)
CMYKcmyk(57.8%, 60.3%, 0%, 20%)
CIE-LABlab(41.57, 37.27, -63.38)
CIE-LCHlch(41.57, 73.52, 300.46°)
OKLaboklab(51.15% 0.0303 -0.1821)
OKLCHoklch(51.15% 0.185 279.4)
XYZxyz(17.6758, 12.2217, 58.5426)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5651CC #C7CC51
analogous
#5189CC #5651CC #9351CC
triadic
#5651CC #CC5651 #51CC56
tetradic
#5651CC #CC5189 #C7CC51 #51CC93
square
#5651CC #CC5189 #C7CC51 #51CC93
split-complementary
#5651CC #CC9351 #89CC51
monochromatic
#28257E #3833AD #5651CC #8480DA #B2B0E8

Accessibility & contrast

On white

6.10
#5651CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#5651CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5651CC
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5651CC#FFFFFF#000000##FFFFFF
##5651CC1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#005DCA
Tritanopia (blue-blind)
#086F87
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5651cc;
/* rgb */ color: rgb(86, 81, 204);
/* oklch */ color: oklch(51.2% 0.185 279.4);
Tailwind
colors: {
  custom: {
    50: '#9082dc',
    500: '#5651cc',
    950: '#000000',
  },
}
SCSS
$custom: #5651cc;
$custom-light: #9082dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5651cc",
  "rgb": {
    "r": 86,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 242.439,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.51154,
    "c": 0.18458,
    "h": 279.4
  },
  "luminance": 0.12223
}

Semantic roles & 50–950 ramp

primary
#5651CC
secondary
#D4D6A3
accent
#DE4AD8
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5651CC

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

Preview Lab → · Contrast checker → · Palette generator →

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