#5656AA#5656AA

#5656AA is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.6% C 0.131 H 280.5°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#5656AA
RGBrgb(86, 86, 170)
HSLhsl(240, 33%, 50%)
HSVhsv(240, 49%, 67%)
CMYKcmyk(49.4%, 49.4%, 0%, 33.3%)
CIE-LABlab(40.47, 23.27, -45.27)
CIE-LCHlch(40.47, 50.90, 297.20°)
OKLaboklab(49.59% 0.0239 -0.1288)
OKLCHoklch(49.59% 0.131 280.5)
XYZxyz(14.4190, 11.5355, 39.4892)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5656AA #AAAA56
analogous
#5680AA #5656AA #8056AA
triadic
#5656AA #AA5656 #56AA56
tetradic
#5656AA #AA5680 #AAAA56 #56AA80
square
#5656AA #AA5680 #AAAA56 #56AA80
split-complementary
#5656AA #AA8056 #80AA56
monochromatic
#2D2D59 #414182 #5656AA #7F7FBE #A7A7D3

Accessibility & contrast

On white

6.35
#5656AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5656AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5656AA#FFFFFF#000000##FFFFFF
##5656AA1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3063AD
Deuteranopia (green-blind)
#295CA8
Tritanopia (blue-blind)
#376878
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5656aa;
/* rgb */ color: rgb(86, 86, 170);
/* oklch */ color: oklch(49.6% 0.131 280.5);
Tailwind
colors: {
  custom: {
    50: '#8b85c4',
    500: '#5656aa',
    950: '#000000',
  },
}
SCSS
$custom: #5656aa;
$custom-light: #8b85c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5656aa",
  "rgb": {
    "r": 86,
    "g": 86,
    "b": 170
  },
  "hsl": {
    "h": 240,
    "s": 33.071,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49594,
    "c": 0.13099,
    "h": 280.5
  },
  "luminance": 0.11536
}

Semantic roles & 50–950 ramp

primary
#5656AA
secondary
#C1C19B
accent
#C95FC9
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #5656AA

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

Preview Lab → · Contrast checker → · Palette generator →

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