#5656B8#5656B8

#5656B8 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.6% C 0.151 H 279.5°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#5656B8
RGBrgb(86, 86, 184)
HSLhsl(240, 41%, 53%)
HSVhsv(240, 53%, 72%)
CMYKcmyk(53.3%, 53.3%, 0%, 27.8%)
CIE-LABlab(41.36, 27.75, -52.07)
CIE-LCHlch(41.36, 59.00, 298.05°)
OKLaboklab(50.56% 0.025 -0.1488)
OKLCHoklch(50.56% 0.151 279.5)
XYZxyz(15.8146, 12.0937, 46.8391)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5656B8 #B8B856
analogous
#5687B8 #5656B8 #8756B8
triadic
#5656B8 #B85656 #56B856
tetradic
#5656B8 #B85687 #B8B856 #56B887
square
#5656B8 #B85687 #B8B856 #56B887
split-complementary
#5656B8 #B88756 #87B856
monochromatic
#2C2C68 #3E3E93 #5656B8 #8181CA #ACACDC

Accessibility & contrast

On white

6.14
#5656B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#5656B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5656B8
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5656B8#FFFFFF#000000##FFFFFF
##5656B81.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F65BB
Deuteranopia (green-blind)
#105EB6
Tritanopia (blue-blind)
#2B6C7F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5656b8;
/* rgb */ color: rgb(86, 86, 184);
/* oklch */ color: oklch(50.6% 0.151 279.5);
Tailwind
colors: {
  custom: {
    50: '#8d85ce',
    500: '#5656b8',
    950: '#000000',
  },
}
SCSS
$custom: #5656b8;
$custom-light: #8d85ce;
$custom-dark: #000000;
JSON
{
  "hex": "#5656b8",
  "rgb": {
    "r": 86,
    "g": 86,
    "b": 184
  },
  "hsl": {
    "h": 240,
    "s": 40.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50555,
    "c": 0.15088,
    "h": 279.5
  },
  "luminance": 0.12095
}

Semantic roles & 50–950 ramp

primary
#5656B8
secondary
#CACAA0
accent
#D157D1
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5656B8

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

Preview Lab → · Contrast checker → · Palette generator →

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