#5654AF#5654AF

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

Color values

HEX#5654AF
RGBrgb(86, 84, 175)
HSLhsl(241, 36%, 51%)
HSVhsv(241, 52%, 69%)
CMYKcmyk(50.9%, 52%, 0%, 31.4%)
CIE-LABlab(40.27, 26.12, -48.55)
CIE-LCHlch(40.27, 55.13, 298.28°)
OKLaboklab(49.55% 0.0267 -0.1384)
OKLCHoklch(49.55% 0.141 280.9)
XYZxyz(14.7436, 11.4134, 41.9753)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5654AF #ADAF54
analogous
#547FAF #5654AF #8354AF
triadic
#5654AF #AF5654 #54AF56
tetradic
#5654AF #AF547F #ADAF54 #54AF83
square
#5654AF #AF547F #ADAF54 #54AF83
split-complementary
#5654AF #AF8354 #7FAF54
monochromatic
#2D2C5D #413F87 #5654AF #7F7EC3 #A8A7D6

Accessibility & contrast

On white

6.40
#5654AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5654AF
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5654AF#FFFFFF#000000##FFFFFF
##5654AF1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2662B2
Deuteranopia (green-blind)
#1E5CAD
Tritanopia (blue-blind)
#336879
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5654af;
/* rgb */ color: rgb(86, 84, 175);
/* oklch */ color: oklch(49.5% 0.141 280.9);
Tailwind
colors: {
  custom: {
    50: '#8c84c7',
    500: '#5654af',
    950: '#000000',
  },
}
SCSS
$custom: #5654af;
$custom-light: #8c84c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5654af",
  "rgb": {
    "r": 86,
    "g": 84,
    "b": 175
  },
  "hsl": {
    "h": 241.319,
    "s": 36.255,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49545,
    "c": 0.14099,
    "h": 280.9
  },
  "luminance": 0.11414
}

Semantic roles & 50–950 ramp

primary
#5654AF
secondary
#C3C49B
accent
#CC5CCA
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0D0A13
muted
#7D7C82

Preview Lab

Preview with #5654AF

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

Preview Lab → · Contrast checker → · Palette generator →

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