#5656E7#5656E7

#5656E7 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.2% C 0.213 H 276.6°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5656E7
RGBrgb(86, 86, 231)
HSLhsl(240, 75%, 62%)
HSVhsv(240, 63%, 91%)
CMYKcmyk(62.8%, 62.8%, 0%, 9.4%)
CIE-LABlab(44.80, 42.97, -73.53)
CIE-LCHlch(44.80, 85.16, 300.30°)
OKLaboklab(54.18% 0.0245 -0.2119)
OKLCHoklch(54.18% 0.213 276.6)
XYZxyz(21.5847, 14.4018, 77.2282)
Luminance0.1440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5656E7 #E7E756
analogous
#569FE7 #5656E7 #9F56E7
triadic
#5656E7 #E75656 #56E756
tetradic
#5656E7 #E7569F #E7E756 #56E79F
square
#5656E7 #E7569F #E7E756 #56E79F
split-complementary
#5656E7 #E79F56 #9FE756
monochromatic
#1818AA #2020DF #5656E7 #8C8CEF #C1C1F6

Accessibility & contrast

On white

5.41
#5656E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#5656E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5656E7
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5656E7#FFFFFF#000000##FFFFFF
##5656E71.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EC
Deuteranopia (green-blind)
#0064E4
Tritanopia (blue-blind)
#007B97
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5656e7;
/* rgb */ color: rgb(86, 86, 231);
/* oklch */ color: oklch(54.2% 0.213 276.6);
Tailwind
colors: {
  custom: {
    50: '#9586f0',
    500: '#5656e7',
    950: '#000000',
  },
}
SCSS
$custom: #5656e7;
$custom-light: #9586f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5656e7",
  "rgb": {
    "r": 86,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 240,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.54181,
    "c": 0.21328,
    "h": 276.6
  },
  "luminance": 0.14404
}

Semantic roles & 50–950 ramp

primary
#5656E7
secondary
#E7E7B2
accent
#D70ED7
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B17
muted
#7E7C85

Preview Lab

Preview with #5656E7

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

Preview Lab → · Contrast checker → · Palette generator →

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