#5656A7#5656A7

#5656A7 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.4% C 0.127 H 280.7°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#5656A7
RGBrgb(86, 86, 167)
HSLhsl(240, 32%, 50%)
HSVhsv(240, 49%, 65%)
CMYKcmyk(48.5%, 48.5%, 0%, 34.5%)
CIE-LABlab(40.28, 22.32, -43.78)
CIE-LCHlch(40.28, 49.15, 297.01°)
OKLaboklab(49.4% 0.0236 -0.1244)
OKLCHoklch(49.4% 0.127 280.7)
XYZxyz(14.1385, 11.4233, 38.0117)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5656A7 #A7A756
analogous
#567FA7 #5656A7 #7F56A7
triadic
#5656A7 #A75656 #56A756
tetradic
#5656A7 #A7567F #A7A756 #56A77F
square
#5656A7 #A7567F #A7A756 #56A77F
split-complementary
#5656A7 #A77F56 #7FA756
monochromatic
#2C2C56 #41417F #5656A7 #7E7EBC #A6A6D1

Accessibility & contrast

On white

6.39
#5656A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5656A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5656A7
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5656A7#FFFFFF#000000##FFFFFF
##5656A71.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3362AA
Deuteranopia (green-blind)
#2D5CA5
Tritanopia (blue-blind)
#396776
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5656a7;
/* rgb */ color: rgb(86, 86, 167);
/* oklch */ color: oklch(49.4% 0.127 280.7);
Tailwind
colors: {
  custom: {
    50: '#8b85c2',
    500: '#5656a7',
    950: '#000000',
  },
}
SCSS
$custom: #5656a7;
$custom-light: #8b85c2;
$custom-dark: #000000;
JSON
{
  "hex": "#5656a7",
  "rgb": {
    "r": 86,
    "g": 86,
    "b": 167
  },
  "hsl": {
    "h": 240,
    "s": 32.016,
    "l": 49.608
  },
  "oklch": {
    "l": 0.49396,
    "c": 0.12664,
    "h": 280.7
  },
  "luminance": 0.11424
}

Semantic roles & 50–950 ramp

primary
#5656A7
secondary
#BFBF9A
accent
#C860C8
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #5656A7

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

Preview Lab → · Contrast checker → · Palette generator →

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