#5656E6#5656E6

#5656E6 is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.1% C 0.212 H 276.6°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#5656E6
RGBrgb(86, 86, 230)
HSLhsl(240, 74%, 62%)
HSVhsv(240, 63%, 90%)
CMYKcmyk(62.6%, 62.6%, 0%, 9.8%)
CIE-LABlab(44.72, 42.64, -73.09)
CIE-LCHlch(44.72, 84.62, 300.26°)
OKLaboklab(54.1% 0.0245 -0.2106)
OKLCHoklch(54.1% 0.212 276.6)
XYZxyz(21.4438, 14.3454, 76.4865)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5656E6 #E6E656
analogous
#569EE6 #5656E6 #9E56E6
triadic
#5656E6 #E65656 #56E656
tetradic
#5656E6 #E6569E #E6E656 #56E69E
square
#5656E6 #E6569E #E6E656 #56E69E
split-complementary
#5656E6 #E69E56 #9EE656
monochromatic
#1919A9 #2121DE #5656E6 #8B8BEE #C1C1F6

Accessibility & contrast

On white

5.43
#5656E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#5656E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5656E6
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5656E6#FFFFFF#000000##FFFFFF
##5656E61.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EB
Deuteranopia (green-blind)
#0064E3
Tritanopia (blue-blind)
#007A96
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5656e6;
/* rgb */ color: rgb(86, 86, 230);
/* oklch */ color: oklch(54.1% 0.212 276.6);
Tailwind
colors: {
  custom: {
    50: '#9586ef',
    500: '#5656e6',
    950: '#000000',
  },
}
SCSS
$custom: #5656e6;
$custom-light: #9586ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5656e6",
  "rgb": {
    "r": 86,
    "g": 86,
    "b": 230
  },
  "hsl": {
    "h": 240,
    "s": 74.227,
    "l": 61.961
  },
  "oklch": {
    "l": 0.54098,
    "c": 0.21201,
    "h": 276.6
  },
  "luminance": 0.14347
}

Semantic roles & 50–950 ramp

primary
#5656E6
secondary
#E6E6B1
accent
#D60FD6
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B17
muted
#7E7C85

Preview Lab

Preview with #5656E6

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

Preview Lab → · Contrast checker → · Palette generator →

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