#5651CA#5651CA

#5651CA is a mid, vivid blue. Relative luminance 0.121; OKLCH L 51.0% C 0.182 H 279.6°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#5651CA
RGBrgb(86, 81, 202)
HSLhsl(242, 53%, 55%)
HSVhsv(242, 60%, 79%)
CMYKcmyk(57.4%, 59.9%, 0%, 20.8%)
CIE-LABlab(41.42, 36.63, -62.47)
CIE-LCHlch(41.42, 72.41, 300.38°)
OKLaboklab(51% 0.0304 -0.1794)
OKLCHoklch(51% 0.182 279.6)
XYZxyz(17.4375, 12.1264, 57.2874)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5651CA #C5CA51
analogous
#5189CA #5651CA #9251CA
triadic
#5651CA #CA5651 #51CA56
tetradic
#5651CA #CA5189 #C5CA51 #51CA92
square
#5651CA #CA5189 #C5CA51 #51CA92
split-complementary
#5651CA #CA9251 #89CA51
monochromatic
#29257B #3934AA #5651CA #8480D8 #B1AFE7

Accessibility & contrast

On white

6.13
#5651CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#5651CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5651CA
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5651CA#FFFFFF#000000##FFFFFF
##5651CA1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#005DC8
Tritanopia (blue-blind)
#0F6E86
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5651ca;
/* rgb */ color: rgb(86, 81, 202);
/* oklch */ color: oklch(51.0% 0.182 279.6);
Tailwind
colors: {
  custom: {
    50: '#9082db',
    500: '#5651ca',
    950: '#000000',
  },
}
SCSS
$custom: #5651ca;
$custom-light: #9082db;
$custom-dark: #000000;
JSON
{
  "hex": "#5651ca",
  "rgb": {
    "r": 86,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 242.479,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.50996,
    "c": 0.18195,
    "h": 279.6
  },
  "luminance": 0.12128
}

Semantic roles & 50–950 ramp

primary
#5651CA
secondary
#D3D5A2
accent
#DD4BD7
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5651CA

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

Preview Lab → · Contrast checker → · Palette generator →

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