#5656DC#5656DC

#5656DC is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.3% C 0.199 H 277.2°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#5656DC
RGBrgb(86, 86, 220)
HSLhsl(240, 66%, 60%)
HSVhsv(240, 61%, 86%)
CMYKcmyk(60.9%, 60.9%, 0%, 13.7%)
CIE-LABlab(43.94, 39.41, -68.69)
CIE-LCHlch(43.94, 79.19, 299.84°)
OKLaboklab(53.28% 0.0251 -0.1976)
OKLCHoklch(53.28% 0.199 277.2)
XYZxyz(20.0796, 13.7998, 69.3018)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5656DC #DCDC56
analogous
#5699DC #5656DC #9956DC
triadic
#5656DC #DC5656 #56DC56
tetradic
#5656DC #DC5699 #DCDC56 #56DC99
square
#5656DC #DC5699 #DCDC56 #56DC99
split-complementary
#5656DC #DC9956 #99DC56
monochromatic
#202098 #2A2ACB #5656DC #8989E6 #BBBBF1

Accessibility & contrast

On white

5.58
#5656DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#5656DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5656DC
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5656DC#FFFFFF#000000##FFFFFF
##5656DC1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#0062D9
Tritanopia (blue-blind)
#007791
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5656dc;
/* rgb */ color: rgb(86, 86, 220);
/* oklch */ color: oklch(53.3% 0.199 277.2);
Tailwind
colors: {
  custom: {
    50: '#9386e8',
    500: '#5656dc',
    950: '#000000',
  },
}
SCSS
$custom: #5656dc;
$custom-light: #9386e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5656dc",
  "rgb": {
    "r": 86,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 240,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.53283,
    "c": 0.19924,
    "h": 277.2
  },
  "luminance": 0.13801
}

Semantic roles & 50–950 ramp

primary
#5656DC
secondary
#E1E1AD
accent
#E93FE9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5656DC

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

Preview Lab → · Contrast checker → · Palette generator →

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