#5656D1#5656D1

#5656D1 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.4% C 0.185 H 277.9°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#5656D1
RGBrgb(86, 86, 209)
HSLhsl(240, 57%, 58%)
HSVhsv(240, 59%, 82%)
CMYKcmyk(58.9%, 58.9%, 0%, 18%)
CIE-LABlab(43.12, 35.84, -63.74)
CIE-LCHlch(43.12, 73.12, 299.35°)
OKLaboklab(52.41% 0.0255 -0.1831)
OKLCHoklch(52.41% 0.185 277.9)
XYZxyz(18.6705, 13.2361, 61.8802)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5656D1 #D1D156
analogous
#5693D1 #5656D1 #9356D1
triadic
#5656D1 #D15656 #56D156
tetradic
#5656D1 #D15693 #D1D156 #56D193
square
#5656D1 #D15693 #D1D156 #56D193
split-complementary
#5656D1 #D19356 #93D156
monochromatic
#252588 #3232B8 #5656D1 #8686DE #B6B6EB

Accessibility & contrast

On white

5.76
#5656D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#5656D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5656D1
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5656D1#FFFFFF#000000##FFFFFF
##5656D11.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD5
Deuteranopia (green-blind)
#0061CF
Tritanopia (blue-blind)
#00748B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5656d1;
/* rgb */ color: rgb(86, 86, 209);
/* oklch */ color: oklch(52.4% 0.185 277.9);
Tailwind
colors: {
  custom: {
    50: '#9186e0',
    500: '#5656d1',
    950: '#000000',
  },
}
SCSS
$custom: #5656d1;
$custom-light: #9186e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5656d1",
  "rgb": {
    "r": 86,
    "g": 86,
    "b": 209
  },
  "hsl": {
    "h": 240,
    "s": 57.209,
    "l": 57.843
  },
  "oklch": {
    "l": 0.52414,
    "c": 0.18487,
    "h": 277.9
  },
  "luminance": 0.13237
}

Semantic roles & 50–950 ramp

primary
#5656D1
secondary
#DADAA9
accent
#E047E0
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5656D1

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

Preview Lab → · Contrast checker → · Palette generator →

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