#5651CB#5651CB

#5651CB is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.1% C 0.183 H 279.5°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5651CB
RGBrgb(86, 81, 203)
HSLhsl(242, 54%, 56%)
HSVhsv(242, 60%, 80%)
CMYKcmyk(57.6%, 60.1%, 0%, 20.4%)
CIE-LABlab(41.49, 36.95, -62.92)
CIE-LCHlch(41.49, 72.97, 300.42°)
OKLaboklab(51.08% 0.0303 -0.1807)
OKLCHoklch(51.08% 0.183 279.5)
XYZxyz(17.5563, 12.1739, 57.9130)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5651CB #C6CB51
analogous
#5189CB #5651CB #9351CB
triadic
#5651CB #CB5651 #51CB56
tetradic
#5651CB #CB5189 #C6CB51 #51CB93
square
#5651CB #CB5189 #C6CB51 #51CB93
split-complementary
#5651CB #CB9351 #89CB51
monochromatic
#29257C #3833AC #5651CB #8480D9 #B2AFE7

Accessibility & contrast

On white

6.11
#5651CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5651CB
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5651CB#FFFFFF#000000##FFFFFF
##5651CB1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#0C6F86
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5651cb;
/* rgb */ color: rgb(86, 81, 203);
/* oklch */ color: oklch(51.1% 0.183 279.5);
Tailwind
colors: {
  custom: {
    50: '#9082dc',
    500: '#5651cb',
    950: '#000000',
  },
}
SCSS
$custom: #5651cb;
$custom-light: #9082dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5651cb",
  "rgb": {
    "r": 86,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 242.459,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51075,
    "c": 0.18327,
    "h": 279.5
  },
  "luminance": 0.12175
}

Semantic roles & 50–950 ramp

primary
#5651CB
secondary
#D3D5A3
accent
#DD4AD7
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5651CB

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

Preview Lab → · Contrast checker → · Palette generator →

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