#5656C9#5656C9

#5656C9 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.8% C 0.174 H 278.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#5656C9
RGBrgb(86, 86, 201)
HSLhsl(240, 52%, 56%)
HSVhsv(240, 57%, 79%)
CMYKcmyk(57.2%, 57.2%, 0%, 21.2%)
CIE-LABlab(42.54, 33.24, -60.07)
CIE-LCHlch(42.54, 68.66, 298.96°)
OKLaboklab(51.8% 0.0255 -0.1723)
OKLCHoklch(51.8% 0.174 278.4)
XYZxyz(17.7048, 12.8498, 56.7943)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5656C9 #C9C956
analogous
#5690C9 #5656C9 #9056C9
triadic
#5656C9 #C95656 #56C956
tetradic
#5656C9 #C95690 #C9C956 #56C990
square
#5656C9 #C95690 #C9C956 #56C990
split-complementary
#5656C9 #C99056 #90C956
monochromatic
#28287D #3737AB #5656C9 #8484D8 #B3B3E7

Accessibility & contrast

On white

5.88
#5656C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#5656C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5656C9
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5656C9#FFFFFF#000000##FFFFFF
##5656C91.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CD
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#107187
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5656c9;
/* rgb */ color: rgb(86, 86, 201);
/* oklch */ color: oklch(51.8% 0.174 278.4);
Tailwind
colors: {
  custom: {
    50: '#9085da',
    500: '#5656c9',
    950: '#000000',
  },
}
SCSS
$custom: #5656c9;
$custom-light: #9085da;
$custom-dark: #000000;
JSON
{
  "hex": "#5656c9",
  "rgb": {
    "r": 86,
    "g": 86,
    "b": 201
  },
  "hsl": {
    "h": 240,
    "s": 51.57,
    "l": 56.275
  },
  "oklch": {
    "l": 0.518,
    "c": 0.1742,
    "h": 278.4
  },
  "luminance": 0.12851
}

Semantic roles & 50–950 ramp

primary
#5656C9
secondary
#D5D5A6
accent
#DB4DDB
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #5656C9

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

Preview Lab → · Contrast checker → · Palette generator →

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