#5656BD#5656BD

#5656BD is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.9% C 0.158 H 279.2°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#5656BD
RGBrgb(86, 86, 189)
HSLhsl(240, 44%, 54%)
HSVhsv(240, 54%, 74%)
CMYKcmyk(54.5%, 54.5%, 0%, 25.9%)
CIE-LABlab(41.70, 29.36, -54.45)
CIE-LCHlch(41.70, 61.86, 298.33°)
OKLaboklab(50.91% 0.0253 -0.1558)
OKLCHoklch(50.91% 0.158 279.2)
XYZxyz(16.3480, 12.3071, 49.6483)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5656BD #BDBD56
analogous
#568ABD #5656BD #8A56BD
triadic
#5656BD #BD5656 #56BD56
tetradic
#5656BD #BD568A #BDBD56 #56BD8A
square
#5656BD #BD568A #BDBD56 #56BD8A
split-complementary
#5656BD #BD8A56 #8ABD56
monochromatic
#2B2B6E #3C3C9A #5656BD #8282CE #AEAEDF

Accessibility & contrast

On white

6.07
#5656BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#5656BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5656BD#FFFFFF#000000##FFFFFF
##5656BD1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1667C1
Deuteranopia (green-blind)
#005EBB
Tritanopia (blue-blind)
#256E81
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5656bd;
/* rgb */ color: rgb(86, 86, 189);
/* oklch */ color: oklch(50.9% 0.158 279.2);
Tailwind
colors: {
  custom: {
    50: '#8e85d2',
    500: '#5656bd',
    950: '#000000',
  },
}
SCSS
$custom: #5656bd;
$custom-light: #8e85d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5656bd",
  "rgb": {
    "r": 86,
    "g": 86,
    "b": 189
  },
  "hsl": {
    "h": 240,
    "s": 43.83,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50913,
    "c": 0.15783,
    "h": 279.2
  },
  "luminance": 0.12308
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5656BD

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

Preview Lab → · Contrast checker → · Palette generator →

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