#5656D7#5656D7

#5656D7 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.9% C 0.193 H 277.5°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#5656D7
RGBrgb(86, 86, 215)
HSLhsl(240, 62%, 59%)
HSVhsv(240, 60%, 84%)
CMYKcmyk(60%, 60%, 0%, 15.7%)
CIE-LABlab(43.56, 37.79, -66.45)
CIE-LCHlch(43.56, 76.44, 299.62°)
OKLaboklab(52.88% 0.0253 -0.1911)
OKLCHoklch(52.88% 0.193 277.5)
XYZxyz(19.4273, 13.5388, 65.8663)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5656D7 #D7D756
analogous
#5697D7 #5656D7 #9756D7
triadic
#5656D7 #D75656 #56D756
tetradic
#5656D7 #D75697 #D7D756 #56D797
square
#5656D7 #D75697 #D7D756 #56D797
split-complementary
#5656D7 #D79756 #97D756
monochromatic
#222290 #2E2EC2 #5656D7 #8787E3 #B9B9EE

Accessibility & contrast

On white

5.66
#5656D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#5656D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5656D7
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5656D7#FFFFFF#000000##FFFFFF
##5656D71.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDB
Deuteranopia (green-blind)
#0062D4
Tritanopia (blue-blind)
#00768E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5656d7;
/* rgb */ color: rgb(86, 86, 215);
/* oklch */ color: oklch(52.9% 0.193 277.5);
Tailwind
colors: {
  custom: {
    50: '#9286e4',
    500: '#5656d7',
    950: '#000000',
  },
}
SCSS
$custom: #5656d7;
$custom-light: #9286e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5656d7",
  "rgb": {
    "r": 86,
    "g": 86,
    "b": 215
  },
  "hsl": {
    "h": 240,
    "s": 61.722,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52884,
    "c": 0.19275,
    "h": 277.5
  },
  "luminance": 0.1354
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5656D7

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

Preview Lab → · Contrast checker → · Palette generator →

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