#5656A4#5656A4

#5656A4 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.2% C 0.122 H 280.9°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#5656A4
RGBrgb(86, 86, 164)
HSLhsl(240, 31%, 49%)
HSVhsv(240, 48%, 64%)
CMYKcmyk(47.6%, 47.6%, 0%, 35.7%)
CIE-LABlab(40.10, 21.38, -42.29)
CIE-LCHlch(40.10, 47.38, 296.82°)
OKLaboklab(49.2% 0.0232 -0.12)
OKLCHoklch(49.2% 0.122 280.9)
XYZxyz(13.8644, 11.3137, 36.5680)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5656A4 #A4A456
analogous
#567DA4 #5656A4 #7D56A4
triadic
#5656A4 #A45656 #56A456
tetradic
#5656A4 #A4567D #A4A456 #56A47D
square
#5656A4 #A4567D #A4A456 #56A47D
split-complementary
#5656A4 #A47D56 #7DA456
monochromatic
#2C2C54 #41417C #5656A4 #7D7DBB #A5A5D0

Accessibility & contrast

On white

6.44
#5656A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#5656A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5656A4
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5656A4#FFFFFF#000000##FFFFFF
##5656A41.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)
#3561A7
Deuteranopia (green-blind)
#305CA2
Tritanopia (blue-blind)
#3B6675
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5656a4;
/* rgb */ color: rgb(86, 86, 164);
/* oklch */ color: oklch(49.2% 0.122 280.9);
Tailwind
colors: {
  custom: {
    50: '#8a85bf',
    500: '#5656a4',
    950: '#000000',
  },
}
SCSS
$custom: #5656a4;
$custom-light: #8a85bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5656a4",
  "rgb": {
    "r": 86,
    "g": 86,
    "b": 164
  },
  "hsl": {
    "h": 240,
    "s": 31.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.49201,
    "c": 0.12227,
    "h": 280.9
  },
  "luminance": 0.11314
}

Semantic roles & 50–950 ramp

primary
#5656A4
secondary
#BDBD99
accent
#C760C7
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #5656A4

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

Preview Lab → · Contrast checker → · Palette generator →

#5656A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva