#5654EC#5654EC

#5654EC is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.3% C 0.222 H 276.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#5654EC
RGBrgb(86, 84, 236)
HSLhsl(241, 80%, 63%)
HSVhsv(241, 64%, 93%)
CMYKcmyk(63.6%, 64.4%, 0%, 7.5%)
CIE-LABlab(44.76, 45.75, -76.42)
CIE-LCHlch(44.76, 89.06, 300.91°)
OKLaboklab(54.28% 0.0256 -0.2203)
OKLCHoklch(54.28% 0.222 276.6)
XYZxyz(22.1435, 14.3734, 80.9480)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5654EC #EAEC54
analogous
#549EEC #5654EC #A254EC
triadic
#5654EC #EC5654 #54EC56
tetradic
#5654EC #EC549E #EAEC54 #54ECA2
square
#5654EC #EC549E #EAEC54 #54ECA2
split-complementary
#5654EC #ECA254 #9EEC54
monochromatic
#1614B2 #201DE6 #5654EC #8C8BF2 #C3C2F8

Accessibility & contrast

On white

5.42
#5654EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#5654EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5654EC
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5654EC#FFFFFF#000000##FFFFFF
##5654EC1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F1
Deuteranopia (green-blind)
#0063E9
Tritanopia (blue-blind)
#007B99
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5654ec;
/* rgb */ color: rgb(86, 84, 236);
/* oklch */ color: oklch(54.3% 0.222 276.6);
Tailwind
colors: {
  custom: {
    50: '#9685f3',
    500: '#5654ec',
    950: '#000000',
  },
}
SCSS
$custom: #5654ec;
$custom-light: #9685f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5654ec",
  "rgb": {
    "r": 86,
    "g": 84,
    "b": 236
  },
  "hsl": {
    "h": 240.789,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.54276,
    "c": 0.22183,
    "h": 276.6
  },
  "luminance": 0.14375
}

Semantic roles & 50–950 ramp

primary
#5654EC
secondary
#E9E9B2
accent
#DC09DA
background
#FAF8FF
surface
#F3EFFE
border
#CDCAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5654EC

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

Preview Lab → · Contrast checker → · Palette generator →

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