#5656D0#5656D0

#5656D0 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.3% C 0.184 H 278.0°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#5656D0
RGBrgb(86, 86, 208)
HSLhsl(240, 56%, 58%)
HSVhsv(240, 59%, 82%)
CMYKcmyk(58.7%, 58.7%, 0%, 18.4%)
CIE-LABlab(43.04, 35.52, -63.28)
CIE-LCHlch(43.04, 72.57, 299.30°)
OKLaboklab(52.34% 0.0255 -0.1818)
OKLCHoklch(52.34% 0.184 278)
XYZxyz(18.5471, 13.1867, 61.2302)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5656D0 #D0D056
analogous
#5693D0 #5656D0 #9356D0
triadic
#5656D0 #D05656 #56D056
tetradic
#5656D0 #D05693 #D0D056 #56D093
square
#5656D0 #D05693 #D0D056 #56D093
split-complementary
#5656D0 #D09356 #93D056
monochromatic
#252586 #3333B6 #5656D0 #8686DD #B6B6EB

Accessibility & contrast

On white

5.77
#5656D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#5656D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5656D0
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5656D0#FFFFFF#000000##FFFFFF
##5656D01.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD4
Deuteranopia (green-blind)
#0061CE
Tritanopia (blue-blind)
#00738B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5656d0;
/* rgb */ color: rgb(86, 86, 208);
/* oklch */ color: oklch(52.3% 0.184 278.0);
Tailwind
colors: {
  custom: {
    50: '#9186df',
    500: '#5656d0',
    950: '#000000',
  },
}
SCSS
$custom: #5656d0;
$custom-light: #9186df;
$custom-dark: #000000;
JSON
{
  "hex": "#5656d0",
  "rgb": {
    "r": 86,
    "g": 86,
    "b": 208
  },
  "hsl": {
    "h": 240,
    "s": 56.481,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52336,
    "c": 0.18355,
    "h": 278
  },
  "luminance": 0.13188
}

Semantic roles & 50–950 ramp

primary
#5656D0
secondary
#D9D9A8
accent
#E048E0
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5656D0

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

Preview Lab → · Contrast checker → · Palette generator →

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