#5654EA#5654EA

#5654EA is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.1% C 0.219 H 276.7°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#5654EA
RGBrgb(86, 84, 234)
HSLhsl(241, 78%, 62%)
HSVhsv(241, 64%, 92%)
CMYKcmyk(63.2%, 64.1%, 0%, 8.2%)
CIE-LABlab(44.60, 45.11, -75.55)
CIE-LCHlch(44.60, 88.00, 300.84°)
OKLaboklab(54.11% 0.0258 -0.2178)
OKLCHoklch(54.11% 0.219 276.7)
XYZxyz(21.8545, 14.2578, 79.4263)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5654EA #E8EA54
analogous
#549DEA #5654EA #A154EA
triadic
#5654EA #EA5654 #54EA56
tetradic
#5654EA #EA549D #E8EA54 #54EAA1
square
#5654EA #EA549D #E8EA54 #54EAA1
split-complementary
#5654EA #EAA154 #9DEA54
monochromatic
#1715AE #201DE3 #5654EA #8C8BF1 #C2C1F7

Accessibility & contrast

On white

5.45
#5654EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#5654EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5654EA
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5654EA#FFFFFF#000000##FFFFFF
##5654EA1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EF
Deuteranopia (green-blind)
#0063E7
Tritanopia (blue-blind)
#007B98
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5654ea;
/* rgb */ color: rgb(86, 84, 234);
/* oklch */ color: oklch(54.1% 0.219 276.7);
Tailwind
colors: {
  custom: {
    50: '#9585f2',
    500: '#5654ea',
    950: '#000000',
  },
}
SCSS
$custom: #5654ea;
$custom-light: #9585f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5654ea",
  "rgb": {
    "r": 86,
    "g": 84,
    "b": 234
  },
  "hsl": {
    "h": 240.8,
    "s": 78.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.54107,
    "c": 0.21934,
    "h": 276.7
  },
  "luminance": 0.1426
}

Semantic roles & 50–950 ramp

primary
#5654EA
secondary
#E8E8B2
accent
#DA0BD8
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5654EA

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

Preview Lab → · Contrast checker → · Palette generator →

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