#5654AC#5654AC

#5654AC is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.3% C 0.137 H 281.2°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#5654AC
RGBrgb(86, 84, 172)
HSLhsl(241, 35%, 50%)
HSVhsv(241, 51%, 67%)
CMYKcmyk(50%, 51.2%, 0%, 32.5%)
CIE-LABlab(40.08, 25.16, -47.08)
CIE-LCHlch(40.08, 53.38, 298.12°)
OKLaboklab(49.34% 0.0265 -0.1341)
OKLCHoklch(49.34% 0.137 281.2)
XYZxyz(14.4522, 11.2969, 40.4407)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5654AC #AAAC54
analogous
#547EAC #5654AC #8254AC
triadic
#5654AC #AC5654 #54AC56
tetradic
#5654AC #AC547E #AAAC54 #54AC82
square
#5654AC #AC547E #AAAC54 #54AC82
split-complementary
#5654AC #AC8254 #7EAC54
monochromatic
#2D2C5A #414083 #5654AC #7F7DC0 #A7A6D4

Accessibility & contrast

On white

6.44
#5654AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#5654AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5654AC
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5654AC#FFFFFF#000000##FFFFFF
##5654AC1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A62AF
Deuteranopia (green-blind)
#235BAA
Tritanopia (blue-blind)
#366778
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5654ac;
/* rgb */ color: rgb(86, 84, 172);
/* oklch */ color: oklch(49.3% 0.137 281.2);
Tailwind
colors: {
  custom: {
    50: '#8c84c5',
    500: '#5654ac',
    950: '#000000',
  },
}
SCSS
$custom: #5654ac;
$custom-light: #8c84c5;
$custom-dark: #000000;
JSON
{
  "hex": "#5654ac",
  "rgb": {
    "r": 86,
    "g": 84,
    "b": 172
  },
  "hsl": {
    "h": 241.364,
    "s": 34.646,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49339,
    "c": 0.13672,
    "h": 281.2
  },
  "luminance": 0.11298
}

Semantic roles & 50–950 ramp

primary
#5654AC
secondary
#C1C29A
accent
#CB5DC8
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #5654AC

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

Preview Lab → · Contrast checker → · Palette generator →

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