#5656BE#5656BE

#5656BE is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.0% C 0.159 H 279.1°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#5656BE
RGBrgb(86, 86, 190)
HSLhsl(240, 44%, 54%)
HSVhsv(240, 55%, 75%)
CMYKcmyk(54.7%, 54.7%, 0%, 25.5%)
CIE-LABlab(41.77, 29.68, -54.93)
CIE-LCHlch(41.77, 62.43, 298.38°)
OKLaboklab(50.99% 0.0253 -0.1572)
OKLCHoklch(50.99% 0.159 279.1)
XYZxyz(16.4569, 12.3507, 50.2219)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5656BE #BEBE56
analogous
#568ABE #5656BE #8A56BE
triadic
#5656BE #BE5656 #56BE56
tetradic
#5656BE #BE568A #BEBE56 #56BE8A
square
#5656BE #BE568A #BEBE56 #56BE8A
split-complementary
#5656BE #BE8A56 #8ABE56
monochromatic
#2B2B6F #3C3C9B #5656BE #8282CF #AEAEE0

Accessibility & contrast

On white

6.05
#5656BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5656BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5656BE
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5656BE#FFFFFF#000000##FFFFFF
##5656BE1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1367C2
Deuteranopia (green-blind)
#005EBC
Tritanopia (blue-blind)
#246E81
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5656be;
/* rgb */ color: rgb(86, 86, 190);
/* oklch */ color: oklch(51.0% 0.159 279.1);
Tailwind
colors: {
  custom: {
    50: '#8e85d2',
    500: '#5656be',
    950: '#000000',
  },
}
SCSS
$custom: #5656be;
$custom-light: #8e85d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5656be",
  "rgb": {
    "r": 86,
    "g": 86,
    "b": 190
  },
  "hsl": {
    "h": 240,
    "s": 44.444,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50985,
    "c": 0.15921,
    "h": 279.1
  },
  "luminance": 0.12352
}

Semantic roles & 50–950 ramp

primary
#5656BE
secondary
#CECEA2
accent
#D454D4
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #5656BE

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

Preview Lab → · Contrast checker → · Palette generator →

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