#5656D8#5656D8

#5656D8 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 53.0% C 0.194 H 277.5°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5656D8
RGBrgb(86, 86, 216)
HSLhsl(240, 63%, 59%)
HSVhsv(240, 60%, 85%)
CMYKcmyk(60.2%, 60.2%, 0%, 15.3%)
CIE-LABlab(43.64, 38.11, -66.90)
CIE-LCHlch(43.64, 76.99, 299.67°)
OKLaboklab(52.96% 0.0253 -0.1924)
OKLCHoklch(52.96% 0.194 277.5)
XYZxyz(19.5562, 13.5904, 66.5451)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5656D8 #D8D856
analogous
#5697D8 #5656D8 #9756D8
triadic
#5656D8 #D85656 #56D856
tetradic
#5656D8 #D85697 #D8D856 #56D897
square
#5656D8 #D85697 #D8D856 #56D897
split-complementary
#5656D8 #D89756 #97D856
monochromatic
#222292 #2D2DC4 #5656D8 #8888E3 #B9B9EF

Accessibility & contrast

On white

5.65
#5656D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#5656D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5656D8
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5656D8#FFFFFF#000000##FFFFFF
##5656D81.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDC
Deuteranopia (green-blind)
#0062D5
Tritanopia (blue-blind)
#00768F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5656d8;
/* rgb */ color: rgb(86, 86, 216);
/* oklch */ color: oklch(53.0% 0.194 277.5);
Tailwind
colors: {
  custom: {
    50: '#9286e5',
    500: '#5656d8',
    950: '#000000',
  },
}
SCSS
$custom: #5656d8;
$custom-light: #9286e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5656d8",
  "rgb": {
    "r": 86,
    "g": 86,
    "b": 216
  },
  "hsl": {
    "h": 240,
    "s": 62.5,
    "l": 59.216
  },
  "oklch": {
    "l": 0.52963,
    "c": 0.19405,
    "h": 277.5
  },
  "luminance": 0.13592
}

Semantic roles & 50–950 ramp

primary
#5656D8
secondary
#DEDEAB
accent
#E642E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5656D8

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

Preview Lab → · Contrast checker → · Palette generator →

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