#5651E4#5651E4

#5651E4 is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.1% C 0.215 H 277.6°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#5651E4
RGBrgb(86, 81, 228)
HSLhsl(242, 73%, 61%)
HSVhsv(242, 64%, 89%)
CMYKcmyk(62.3%, 64.5%, 0%, 10.6%)
CIE-LABlab(43.45, 44.95, -74.04)
CIE-LCHlch(43.45, 86.61, 301.26°)
OKLaboklab(53.12% 0.0287 -0.2134)
OKLCHoklch(53.12% 0.215 277.6)
XYZxyz(20.7793, 13.4631, 74.8874)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5651E4 #DFE451
analogous
#5195E4 #5651E4 #9F51E4
triadic
#5651E4 #E45651 #51E456
tetradic
#5651E4 #E45195 #DFE451 #51E49F
square
#5651E4 #E45195 #DFE451 #51E49F
split-complementary
#5651E4 #E49F51 #95E451
monochromatic
#1E19A2 #2721D7 #5651E4 #8986EC #BDBBF4

Accessibility & contrast

On white

5.69
#5651E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#5651E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5651E4
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5651E4#FFFFFF#000000##FFFFFF
##5651E41.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE9
Deuteranopia (green-blind)
#0060E1
Tritanopia (blue-blind)
#007793
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5651e4;
/* rgb */ color: rgb(86, 81, 228);
/* oklch */ color: oklch(53.1% 0.215 277.6);
Tailwind
colors: {
  custom: {
    50: '#9582ee',
    500: '#5651e4',
    950: '#000000',
  },
}
SCSS
$custom: #5651e4;
$custom-light: #9582ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5651e4",
  "rgb": {
    "r": 86,
    "g": 81,
    "b": 228
  },
  "hsl": {
    "h": 242.041,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.53121,
    "c": 0.2153,
    "h": 277.6
  },
  "luminance": 0.13465
}

Semantic roles & 50–950 ramp

primary
#5651E4
secondary
#E2E4AC
accent
#D510CF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5651E4

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

Preview Lab → · Contrast checker → · Palette generator →

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