#5656AD#5656AD

#5656AD is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.8% C 0.135 H 280.3°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#5656AD
RGBrgb(86, 86, 173)
HSLhsl(240, 35%, 51%)
HSVhsv(240, 50%, 68%)
CMYKcmyk(50.3%, 50.3%, 0%, 32.2%)
CIE-LABlab(40.65, 24.22, -46.74)
CIE-LCHlch(40.65, 52.65, 297.39°)
OKLaboklab(49.8% 0.0242 -0.1331)
OKLCHoklch(49.8% 0.135 280.3)
XYZxyz(14.7061, 11.6503, 41.0009)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5656AD #ADAD56
analogous
#5681AD #5656AD #8156AD
triadic
#5656AD #AD5656 #56AD56
tetradic
#5656AD #AD5681 #ADAD56 #56AD81
square
#5656AD #AD5681 #ADAD56 #56AD81
split-complementary
#5656AD #AD8156 #81AD56
monochromatic
#2D2D5C #414185 #5656AD #7F7FC1 #A8A8D5

Accessibility & contrast

On white

6.31
#5656AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#5656AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5656AD#FFFFFF#000000##FFFFFF
##5656AD1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D63B0
Deuteranopia (green-blind)
#265DAB
Tritanopia (blue-blind)
#356979
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5656ad;
/* rgb */ color: rgb(86, 86, 173);
/* oklch */ color: oklch(49.8% 0.135 280.3);
Tailwind
colors: {
  custom: {
    50: '#8c85c6',
    500: '#5656ad',
    950: '#000000',
  },
}
SCSS
$custom: #5656ad;
$custom-light: #8c85c6;
$custom-dark: #000000;
JSON
{
  "hex": "#5656ad",
  "rgb": {
    "r": 86,
    "g": 86,
    "b": 173
  },
  "hsl": {
    "h": 240,
    "s": 34.661,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49795,
    "c": 0.1353,
    "h": 280.3
  },
  "luminance": 0.11651
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5656AD

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

Preview Lab → · Contrast checker → · Palette generator →

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