#5656BA#5656BA

#5656BA is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.7% C 0.154 H 279.4°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5656BA
RGBrgb(86, 86, 186)
HSLhsl(240, 42%, 53%)
HSVhsv(240, 54%, 73%)
CMYKcmyk(53.8%, 53.8%, 0%, 27.1%)
CIE-LABlab(41.50, 28.39, -53.03)
CIE-LCHlch(41.50, 60.15, 298.16°)
OKLaboklab(50.7% 0.0251 -0.1516)
OKLCHoklch(50.7% 0.154 279.4)
XYZxyz(16.0257, 12.1782, 47.9510)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5656BA #BABA56
analogous
#5688BA #5656BA #8856BA
triadic
#5656BA #BA5656 #56BA56
tetradic
#5656BA #BA5688 #BABA56 #56BA88
square
#5656BA #BA5688 #BABA56 #56BA88
split-complementary
#5656BA #BA8856 #88BA56
monochromatic
#2B2B6A #3D3D96 #5656BA #8181CC #ADADDD

Accessibility & contrast

On white

6.11
#5656BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#5656BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5656BA#FFFFFF#000000##FFFFFF
##5656BA1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C66BD
Deuteranopia (green-blind)
#085EB8
Tritanopia (blue-blind)
#296D7F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5656ba;
/* rgb */ color: rgb(86, 86, 186);
/* oklch */ color: oklch(50.7% 0.154 279.4);
Tailwind
colors: {
  custom: {
    50: '#8d85cf',
    500: '#5656ba',
    950: '#000000',
  },
}
SCSS
$custom: #5656ba;
$custom-light: #8d85cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5656ba",
  "rgb": {
    "r": 86,
    "g": 86,
    "b": 186
  },
  "hsl": {
    "h": 240,
    "s": 42.017,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50697,
    "c": 0.15367,
    "h": 279.4
  },
  "luminance": 0.12179
}

Semantic roles & 50–950 ramp

primary
#5656BA
secondary
#CBCBA0
accent
#D256D2
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5656BA

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

Preview Lab → · Contrast checker → · Palette generator →

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