#5654CE#5654CE

#5654CE is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.8% C 0.183 H 278.6°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#5654CE
RGBrgb(86, 84, 206)
HSLhsl(241, 55%, 57%)
HSVhsv(241, 59%, 81%)
CMYKcmyk(58.3%, 59.2%, 0%, 19.2%)
CIE-LABlab(42.42, 36.09, -63.14)
CIE-LCHlch(42.42, 72.73, 299.75°)
OKLaboklab(51.83% 0.0274 -0.1814)
OKLCHoklch(51.83% 0.183 278.6)
XYZxyz(18.1451, 12.7740, 59.8900)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5654CE #CCCE54
analogous
#548FCE #5654CE #9354CE
triadic
#5654CE #CE5654 #54CE56
tetradic
#5654CE #CE548F #CCCE54 #54CE93
square
#5654CE #CE548F #CCCE54 #54CE93
split-complementary
#5654CE #CE9354 #8FCE54
monochromatic
#272582 #3533B2 #5654CE #8584DC #B4B3E9

Accessibility & contrast

On white

5.91
#5654CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#5654CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5654CE
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5654CE#FFFFFF#000000##FFFFFF
##5654CE1.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#005FCC
Tritanopia (blue-blind)
#007189
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5654ce;
/* rgb */ color: rgb(86, 84, 206);
/* oklch */ color: oklch(51.8% 0.183 278.6);
Tailwind
colors: {
  custom: {
    50: '#9184de',
    500: '#5654ce',
    950: '#000000',
  },
}
SCSS
$custom: #5654ce;
$custom-light: #9184de;
$custom-dark: #000000;
JSON
{
  "hex": "#5654ce",
  "rgb": {
    "r": 86,
    "g": 84,
    "b": 206
  },
  "hsl": {
    "h": 240.984,
    "s": 55.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5183,
    "c": 0.18343,
    "h": 278.6
  },
  "luminance": 0.12775
}

Semantic roles & 50–950 ramp

primary
#5654CE
secondary
#D7D8A6
accent
#DF49DC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5654CE

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

Preview Lab → · Contrast checker → · Palette generator →

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