#5651E8#5651E8

#5651E8 is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.5% C 0.220 H 277.4°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#5651E8
RGBrgb(86, 81, 232)
HSLhsl(242, 77%, 61%)
HSVhsv(242, 65%, 91%)
CMYKcmyk(62.9%, 65.1%, 0%, 9%)
CIE-LABlab(43.78, 46.22, -75.76)
CIE-LCHlch(43.78, 88.75, 301.38°)
OKLaboklab(53.46% 0.0283 -0.2184)
OKLCHoklch(53.46% 0.22 277.4)
XYZxyz(21.3410, 13.6878, 77.8457)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5651E8 #E3E851
analogous
#5198E8 #5651E8 #A251E8
triadic
#5651E8 #E85651 #51E856
tetradic
#5651E8 #E85198 #E3E851 #51E8A2
square
#5651E8 #E85198 #E3E851 #51E8A2
split-complementary
#5651E8 #E8A251 #98E851
monochromatic
#1B16A8 #241DDE #5651E8 #8B87EF #BFBDF6

Accessibility & contrast

On white

5.62
#5651E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#5651E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5651E8
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5651E8#FFFFFF#000000##FFFFFF
##5651E81.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EED
Deuteranopia (green-blind)
#0061E5
Tritanopia (blue-blind)
#007895
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5651e8;
/* rgb */ color: rgb(86, 81, 232);
/* oklch */ color: oklch(53.5% 0.220 277.4);
Tailwind
colors: {
  custom: {
    50: '#9583f0',
    500: '#5651e8',
    950: '#000000',
  },
}
SCSS
$custom: #5651e8;
$custom-light: #9583f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5651e8",
  "rgb": {
    "r": 86,
    "g": 81,
    "b": 232
  },
  "hsl": {
    "h": 241.987,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.53461,
    "c": 0.22027,
    "h": 277.4
  },
  "luminance": 0.13689
}

Semantic roles & 50–950 ramp

primary
#5651E8
secondary
#E5E7AE
accent
#D90DD2
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5651E8

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

Preview Lab → · Contrast checker → · Palette generator →

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