#5654E9#5654E9

#5654E9 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 54.0% C 0.218 H 276.8°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#5654E9
RGBrgb(86, 84, 233)
HSLhsl(241, 77%, 62%)
HSVhsv(241, 64%, 91%)
CMYKcmyk(63.1%, 63.9%, 0%, 8.6%)
CIE-LABlab(44.52, 44.79, -75.12)
CIE-LCHlch(44.52, 87.46, 300.80°)
OKLaboklab(54.02% 0.0259 -0.2166)
OKLCHoklch(54.02% 0.218 276.8)
XYZxyz(21.7113, 14.2005, 78.6718)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5654E9 #E7E954
analogous
#549DE9 #5654E9 #A054E9
triadic
#5654E9 #E95654 #54E956
tetradic
#5654E9 #E9549D #E7E954 #54E9A0
square
#5654E9 #E9549D #E7E954 #54E9A0
split-complementary
#5654E9 #E9A054 #9DE954
monochromatic
#1816AC #201EE2 #5654E9 #8C8AF0 #C1C0F7

Accessibility & contrast

On white

5.47
#5654E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#5654E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5654E9
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5654E9#FFFFFF#000000##FFFFFF
##5654E91.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EE
Deuteranopia (green-blind)
#0063E6
Tritanopia (blue-blind)
#007A97
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5654e9;
/* rgb */ color: rgb(86, 84, 233);
/* oklch */ color: oklch(54.0% 0.218 276.8);
Tailwind
colors: {
  custom: {
    50: '#9585f1',
    500: '#5654e9',
    950: '#000000',
  },
}
SCSS
$custom: #5654e9;
$custom-light: #9585f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5654e9",
  "rgb": {
    "r": 86,
    "g": 84,
    "b": 233
  },
  "hsl": {
    "h": 240.805,
    "s": 77.202,
    "l": 62.157
  },
  "oklch": {
    "l": 0.54023,
    "c": 0.2181,
    "h": 276.8
  },
  "luminance": 0.14202
}

Semantic roles & 50–950 ramp

primary
#5654E9
secondary
#E7E8B1
accent
#D90CD7
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5654E9

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

Preview Lab → · Contrast checker → · Palette generator →

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