#5654AE#5654AE

#5654AE is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.5% C 0.140 H 281.0°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#5654AE
RGBrgb(86, 84, 174)
HSLhsl(241, 36%, 51%)
HSVhsv(241, 52%, 68%)
CMYKcmyk(50.6%, 51.7%, 0%, 31.8%)
CIE-LABlab(40.20, 25.80, -48.06)
CIE-LCHlch(40.20, 54.55, 298.23°)
OKLaboklab(49.48% 0.0266 -0.137)
OKLCHoklch(49.48% 0.14 281)
XYZxyz(14.6457, 11.3743, 41.4599)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5654AE #ACAE54
analogous
#547FAE #5654AE #8354AE
triadic
#5654AE #AE5654 #54AE56
tetradic
#5654AE #AE547F #ACAE54 #54AE83
square
#5654AE #AE547F #ACAE54 #54AE83
split-complementary
#5654AE #AE8354 #7FAE54
monochromatic
#2D2C5C #413F86 #5654AE #7F7EC2 #A8A7D5

Accessibility & contrast

On white

6.41
#5654AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5654AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5654AE
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5654AE#FFFFFF#000000##FFFFFF
##5654AE1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2862B1
Deuteranopia (green-blind)
#1F5BAC
Tritanopia (blue-blind)
#346879
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5654ae;
/* rgb */ color: rgb(86, 84, 174);
/* oklch */ color: oklch(49.5% 0.140 281.0);
Tailwind
colors: {
  custom: {
    50: '#8c84c7',
    500: '#5654ae',
    950: '#000000',
  },
}
SCSS
$custom: #5654ae;
$custom-light: #8c84c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5654ae",
  "rgb": {
    "r": 86,
    "g": 84,
    "b": 174
  },
  "hsl": {
    "h": 241.333,
    "s": 35.714,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49476,
    "c": 0.13957,
    "h": 281
  },
  "luminance": 0.11375
}

Semantic roles & 50–950 ramp

primary
#5654AE
secondary
#C2C39B
accent
#CC5CC9
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0D0A13
muted
#7D7C82

Preview Lab

Preview with #5654AE

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

Preview Lab → · Contrast checker → · Palette generator →

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