#5656AE#5656AE

#5656AE is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.9% C 0.137 H 280.2°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#5656AE
RGBrgb(86, 86, 174)
HSLhsl(240, 35%, 51%)
HSVhsv(240, 51%, 68%)
CMYKcmyk(50.6%, 50.6%, 0%, 31.8%)
CIE-LABlab(40.72, 24.54, -47.23)
CIE-LCHlch(40.72, 53.23, 297.46°)
OKLaboklab(49.86% 0.0243 -0.1346)
OKLCHoklch(49.86% 0.137 280.2)
XYZxyz(14.8032, 11.6892, 41.5124)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5656AE #AEAE56
analogous
#5682AE #5656AE #8256AE
triadic
#5656AE #AE5656 #56AE56
tetradic
#5656AE #AE5682 #AEAE56 #56AE82
square
#5656AE #AE5682 #AEAE56 #56AE82
split-complementary
#5656AE #AE8256 #82AE56
monochromatic
#2D2D5D #404086 #5656AE #7F7FC2 #A9A9D6

Accessibility & contrast

On white

6.29
#5656AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5656AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5656AE#FFFFFF#000000##FFFFFF
##5656AE1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C63B1
Deuteranopia (green-blind)
#245DAC
Tritanopia (blue-blind)
#34697A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5656ae;
/* rgb */ color: rgb(86, 86, 174);
/* oklch */ color: oklch(49.9% 0.137 280.2);
Tailwind
colors: {
  custom: {
    50: '#8c85c7',
    500: '#5656ae',
    950: '#000000',
  },
}
SCSS
$custom: #5656ae;
$custom-light: #8c85c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5656ae",
  "rgb": {
    "r": 86,
    "g": 86,
    "b": 174
  },
  "hsl": {
    "h": 240,
    "s": 35.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.49862,
    "c": 0.13673,
    "h": 280.2
  },
  "luminance": 0.1169
}

Semantic roles & 50–950 ramp

primary
#5656AE
secondary
#C3C39C
accent
#CB5DCB
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #5656AE

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

Preview Lab → · Contrast checker → · Palette generator →

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