#5651EF#5651EF

#5651EF is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 54.1% C 0.229 H 276.9°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#5651EF
RGBrgb(86, 81, 239)
HSLhsl(242, 83%, 63%)
HSVhsv(242, 66%, 94%)
CMYKcmyk(64%, 66.1%, 0%, 6.3%)
CIE-LABlab(44.37, 48.44, -78.76)
CIE-LCHlch(44.37, 92.46, 301.59°)
OKLaboklab(54.07% 0.0275 -0.2272)
OKLCHoklch(54.07% 0.229 276.9)
XYZxyz(22.3551, 14.0934, 83.1868)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5651EF #EAEF51
analogous
#519BEF #5651EF #A551EF
triadic
#5651EF #EF5651 #51EF56
tetradic
#5651EF #EF519B #EAEF51 #51EFA5
square
#5651EF #EF519B #EAEF51 #51EFA5
split-complementary
#5651EF #EFA551 #9BEF51
monochromatic
#1611B5 #2019EA #5651EF #8C89F4 #C3C1F9

Accessibility & contrast

On white

5.50
#5651EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#5651EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5651EF
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5651EF#FFFFFF#000000##FFFFFF
##5651EF1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F4
Deuteranopia (green-blind)
#0062EC
Tritanopia (blue-blind)
#007B99
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5651ef;
/* rgb */ color: rgb(86, 81, 239);
/* oklch */ color: oklch(54.1% 0.229 276.9);
Tailwind
colors: {
  custom: {
    50: '#9683f5',
    500: '#5651ef',
    950: '#000000',
  },
}
SCSS
$custom: #5651ef;
$custom-light: #9683f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5651ef",
  "rgb": {
    "r": 86,
    "g": 81,
    "b": 239
  },
  "hsl": {
    "h": 241.899,
    "s": 83.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.54065,
    "c": 0.22887,
    "h": 276.9
  },
  "luminance": 0.14095
}

Semantic roles & 50–950 ramp

primary
#5651EF
secondary
#E9EAB1
accent
#E006D9
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5651EF

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

Preview Lab → · Contrast checker → · Palette generator →

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