#5651E2#5651E2

#5651E2 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.0% C 0.213 H 277.8°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#5651E2
RGBrgb(86, 81, 226)
HSLhsl(242, 71%, 60%)
HSVhsv(242, 64%, 89%)
CMYKcmyk(61.9%, 64.2%, 0%, 11.4%)
CIE-LABlab(43.29, 44.31, -73.17)
CIE-LCHlch(43.29, 85.54, 301.20°)
OKLaboklab(52.95% 0.0288 -0.2108)
OKLCHoklch(52.95% 0.213 277.8)
XYZxyz(20.5032, 13.3527, 73.4336)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5651E2 #DDE251
analogous
#5194E2 #5651E2 #9E51E2
triadic
#5651E2 #E25651 #51E256
tetradic
#5651E2 #E25194 #DDE251 #51E29E
square
#5651E2 #E25194 #DDE251 #51E29E
split-complementary
#5651E2 #E29E51 #94E251
monochromatic
#1F1A9E #2923D3 #5651E2 #8985EB #BCBAF3

Accessibility & contrast

On white

5.72
#5651E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#5651E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5651E2
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5651E2#FFFFFF#000000##FFFFFF
##5651E21.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE7
Deuteranopia (green-blind)
#0060DF
Tritanopia (blue-blind)
#007692
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5651e2;
/* rgb */ color: rgb(86, 81, 226);
/* oklch */ color: oklch(53.0% 0.213 277.8);
Tailwind
colors: {
  custom: {
    50: '#9482ec',
    500: '#5651e2',
    950: '#000000',
  },
}
SCSS
$custom: #5651e2;
$custom-light: #9482ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5651e2",
  "rgb": {
    "r": 86,
    "g": 81,
    "b": 226
  },
  "hsl": {
    "h": 242.069,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.52952,
    "c": 0.21279,
    "h": 277.8
  },
  "luminance": 0.13354
}

Semantic roles & 50–950 ramp

primary
#5651E2
secondary
#E1E3AC
accent
#D312CD
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5651E2

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

Preview Lab → · Contrast checker → · Palette generator →

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