#5656A2#5656A2

#5656A2 is a mid, moderate blue. Relative luminance 0.112; OKLCH L 49.1% C 0.119 H 281.1°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#5656A2
RGBrgb(86, 86, 162)
HSLhsl(240, 31%, 49%)
HSVhsv(240, 47%, 64%)
CMYKcmyk(46.9%, 46.9%, 0%, 36.5%)
CIE-LABlab(39.99, 20.75, -41.29)
CIE-LCHlch(39.99, 46.21, 296.68°)
OKLaboklab(49.07% 0.0229 -0.1171)
OKLCHoklch(49.07% 0.119 281.1)
XYZxyz(13.6852, 11.2420, 35.6242)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5656A2 #A2A256
analogous
#567CA2 #5656A2 #7C56A2
triadic
#5656A2 #A25656 #56A256
tetradic
#5656A2 #A2567C #A2A256 #56A27C
square
#5656A2 #A2567C #A2A256 #56A27C
split-complementary
#5656A2 #A27C56 #7CA256
monochromatic
#2C2C52 #41417A #5656A2 #7C7CB9 #A4A4CF

Accessibility & contrast

On white

6.46
#5656A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#5656A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5656A2
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5656A2#FFFFFF#000000##FFFFFF
##5656A21.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3761A5
Deuteranopia (green-blind)
#325BA0
Tritanopia (blue-blind)
#3C6674
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5656a2;
/* rgb */ color: rgb(86, 86, 162);
/* oklch */ color: oklch(49.1% 0.119 281.1);
Tailwind
colors: {
  custom: {
    50: '#8a85be',
    500: '#5656a2',
    950: '#000000',
  },
}
SCSS
$custom: #5656a2;
$custom-light: #8a85be;
$custom-dark: #000000;
JSON
{
  "hex": "#5656a2",
  "rgb": {
    "r": 86,
    "g": 86,
    "b": 162
  },
  "hsl": {
    "h": 240,
    "s": 30.645,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49073,
    "c": 0.11933,
    "h": 281.1
  },
  "luminance": 0.11243
}

Semantic roles & 50–950 ramp

primary
#5656A2
secondary
#BCBC98
accent
#C761C7
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #5656A2

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

Preview Lab → · Contrast checker → · Palette generator →

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