#5654CC#5654CC

#5654CC is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.7% C 0.181 H 278.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#5654CC
RGBrgb(86, 84, 204)
HSLhsl(241, 54%, 56%)
HSVhsv(241, 59%, 80%)
CMYKcmyk(57.8%, 58.8%, 0%, 20%)
CIE-LABlab(42.27, 35.44, -62.23)
CIE-LCHlch(42.27, 71.61, 299.66°)
OKLaboklab(51.68% 0.0274 -0.1787)
OKLCHoklch(51.68% 0.181 278.7)
XYZxyz(17.9037, 12.6775, 58.6186)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5654CC #CACC54
analogous
#548ECC #5654CC #9254CC
triadic
#5654CC #CC5654 #54CC56
tetradic
#5654CC #CC548E #CACC54 #54CC92
square
#5654CC #CC548E #CACC54 #54CC92
split-complementary
#5654CC #CC9254 #8ECC54
monochromatic
#282680 #3634AF #5654CC #8583DA #B3B2E8

Accessibility & contrast

On white

5.94
#5654CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#5654CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5654CC
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5654CC#FFFFFF#000000##FFFFFF
##5654CC1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#005FCA
Tritanopia (blue-blind)
#077188
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5654cc;
/* rgb */ color: rgb(86, 84, 204);
/* oklch */ color: oklch(51.7% 0.181 278.7);
Tailwind
colors: {
  custom: {
    50: '#9084dc',
    500: '#5654cc',
    950: '#000000',
  },
}
SCSS
$custom: #5654cc;
$custom-light: #9084dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5654cc",
  "rgb": {
    "r": 86,
    "g": 84,
    "b": 204
  },
  "hsl": {
    "h": 241,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51675,
    "c": 0.18078,
    "h": 278.7
  },
  "luminance": 0.12679
}

Semantic roles & 50–950 ramp

primary
#5654CC
secondary
#D6D7A5
accent
#DD4ADB
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5654CC

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

Preview Lab → · Contrast checker → · Palette generator →

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