#5651EA#5651EA

#5651EA is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.6% C 0.223 H 277.2°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#5651EA
RGBrgb(86, 81, 234)
HSLhsl(242, 78%, 62%)
HSVhsv(242, 65%, 92%)
CMYKcmyk(63.2%, 65.4%, 0%, 8.2%)
CIE-LABlab(43.95, 46.85, -76.62)
CIE-LCHlch(43.95, 89.81, 301.44°)
OKLaboklab(53.63% 0.0281 -0.221)
OKLCHoklch(53.63% 0.223 277.2)
XYZxyz(21.6266, 13.8020, 79.3503)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5651EA #E5EA51
analogous
#5199EA #5651EA #A351EA
triadic
#5651EA #EA5651 #51EA56
tetradic
#5651EA #EA5199 #E5EA51 #51EAA3
square
#5651EA #EA5199 #E5EA51 #51EAA3
split-complementary
#5651EA #EAA351 #99EA51
monochromatic
#1A15AC #221BE2 #5651EA #8B88F1 #C0BEF7

Accessibility & contrast

On white

5.58
#5651EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#5651EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5651EA
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5651EA#FFFFFF#000000##FFFFFF
##5651EA1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEF
Deuteranopia (green-blind)
#0061E7
Tritanopia (blue-blind)
#007997
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5651ea;
/* rgb */ color: rgb(86, 81, 234);
/* oklch */ color: oklch(53.6% 0.223 277.2);
Tailwind
colors: {
  custom: {
    50: '#9683f2',
    500: '#5651ea',
    950: '#000000',
  },
}
SCSS
$custom: #5651ea;
$custom-light: #9683f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5651ea",
  "rgb": {
    "r": 86,
    "g": 81,
    "b": 234
  },
  "hsl": {
    "h": 241.961,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.53633,
    "c": 0.22274,
    "h": 277.2
  },
  "luminance": 0.13804
}

Semantic roles & 50–950 ramp

primary
#5651EA
secondary
#E6E8AF
accent
#DB0BD4
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5651EA

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

Preview Lab → · Contrast checker → · Palette generator →

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