#5656C8#5656C8

#5656C8 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.7% C 0.173 H 278.5°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#5656C8
RGBrgb(86, 86, 200)
HSLhsl(240, 51%, 56%)
HSVhsv(240, 57%, 78%)
CMYKcmyk(57%, 57%, 0%, 21.6%)
CIE-LABlab(42.46, 32.92, -59.61)
CIE-LCHlch(42.46, 68.09, 298.91°)
OKLaboklab(51.73% 0.0255 -0.171)
OKLCHoklch(51.73% 0.173 278.5)
XYZxyz(17.5876, 12.8029, 56.1768)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5656C8 #C8C856
analogous
#568FC8 #5656C8 #8F56C8
triadic
#5656C8 #C85656 #56C856
tetradic
#5656C8 #C8568F #C8C856 #56C88F
square
#5656C8 #C8568F #C8C856 #56C88F
split-complementary
#5656C8 #C88F56 #8FC856
monochromatic
#28287B #3737AA #5656C8 #8484D7 #B2B2E6

Accessibility & contrast

On white

5.90
#5656C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#5656C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5656C8
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5656C8#FFFFFF#000000##FFFFFF
##5656C81.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#0060C6
Tritanopia (blue-blind)
#137186
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5656c8;
/* rgb */ color: rgb(86, 86, 200);
/* oklch */ color: oklch(51.7% 0.173 278.5);
Tailwind
colors: {
  custom: {
    50: '#9085d9',
    500: '#5656c8',
    950: '#000000',
  },
}
SCSS
$custom: #5656c8;
$custom-light: #9085d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5656c8",
  "rgb": {
    "r": 86,
    "g": 86,
    "b": 200
  },
  "hsl": {
    "h": 240,
    "s": 50.893,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51725,
    "c": 0.17285,
    "h": 278.5
  },
  "luminance": 0.12804
}

Semantic roles & 50–950 ramp

primary
#5656C8
secondary
#D4D4A5
accent
#DA4DDA
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #5656C8

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

Preview Lab → · Contrast checker → · Palette generator →

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