#5654D8#5654D8

#5654D8 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.6% C 0.197 H 277.9°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#5654D8
RGBrgb(86, 84, 216)
HSLhsl(241, 63%, 59%)
HSVhsv(241, 61%, 85%)
CMYKcmyk(60.2%, 61.1%, 0%, 15.3%)
CIE-LABlab(43.18, 39.32, -67.65)
CIE-LCHlch(43.18, 78.25, 300.16°)
OKLaboklab(52.62% 0.027 -0.1946)
OKLCHoklch(52.62% 0.197 277.9)
XYZxyz(19.3988, 13.2755, 66.4926)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5654D8 #D6D854
analogous
#5494D8 #5654D8 #9854D8
triadic
#5654D8 #D85654 #54D856
tetradic
#5654D8 #D85494 #D6D854 #54D898
square
#5654D8 #D85494 #D6D854 #54D898
split-complementary
#5654D8 #D89854 #94D854
monochromatic
#232191 #2F2CC2 #5654D8 #8786E3 #B9B8EF

Accessibility & contrast

On white

5.74
#5654D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#5654D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5654D8
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5654D8#FFFFFF#000000##FFFFFF
##5654D81.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDC
Deuteranopia (green-blind)
#0060D5
Tritanopia (blue-blind)
#00758E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5654d8;
/* rgb */ color: rgb(86, 84, 216);
/* oklch */ color: oklch(52.6% 0.197 277.9);
Tailwind
colors: {
  custom: {
    50: '#9284e5',
    500: '#5654d8',
    950: '#000000',
  },
}
SCSS
$custom: #5654d8;
$custom-light: #9284e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5654d8",
  "rgb": {
    "r": 86,
    "g": 84,
    "b": 216
  },
  "hsl": {
    "h": 240.909,
    "s": 62.857,
    "l": 58.824
  },
  "oklch": {
    "l": 0.52622,
    "c": 0.1965,
    "h": 277.9
  },
  "luminance": 0.13277
}

Semantic roles & 50–950 ramp

primary
#5654D8
secondary
#DDDEAA
accent
#E642E3
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5654D8

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

Preview Lab → · Contrast checker → · Palette generator →

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