#5656BC#5656BC

#5656BC is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.8% C 0.156 H 279.3°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#5656BC
RGBrgb(86, 86, 188)
HSLhsl(240, 43%, 54%)
HSVhsv(240, 54%, 74%)
CMYKcmyk(54.3%, 54.3%, 0%, 26.3%)
CIE-LABlab(41.63, 29.03, -53.98)
CIE-LCHlch(41.63, 61.29, 298.27°)
OKLaboklab(50.84% 0.0252 -0.1544)
OKLCHoklch(50.84% 0.156 279.3)
XYZxyz(16.2398, 12.2638, 49.0786)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5656BC #BCBC56
analogous
#5689BC #5656BC #8956BC
triadic
#5656BC #BC5656 #56BC56
tetradic
#5656BC #BC5689 #BCBC56 #56BC89
square
#5656BC #BC5689 #BCBC56 #56BC89
split-complementary
#5656BC #BC8956 #89BC56
monochromatic
#2B2B6D #3C3C98 #5656BC #8282CD #AEAEDF

Accessibility & contrast

On white

6.08
#5656BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5656BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5656BC#FFFFFF#000000##FFFFFF
##5656BC1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1866C0
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#266D80
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5656bc;
/* rgb */ color: rgb(86, 86, 188);
/* oklch */ color: oklch(50.8% 0.156 279.3);
Tailwind
colors: {
  custom: {
    50: '#8e85d1',
    500: '#5656bc',
    950: '#000000',
  },
}
SCSS
$custom: #5656bc;
$custom-light: #8e85d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5656bc",
  "rgb": {
    "r": 86,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 240,
    "s": 43.22,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50841,
    "c": 0.15645,
    "h": 279.3
  },
  "luminance": 0.12265
}

Semantic roles & 50–950 ramp

primary
#5656BC
secondary
#CDCDA1
accent
#D355D3
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5656BC

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

Preview Lab → · Contrast checker → · Palette generator →

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