#5656E5#5656E5

#5656E5 is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.0% C 0.211 H 276.7°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#5656E5
RGBrgb(86, 86, 229)
HSLhsl(240, 73%, 62%)
HSVhsv(240, 62%, 90%)
CMYKcmyk(62.4%, 62.4%, 0%, 10.2%)
CIE-LABlab(44.65, 42.32, -72.66)
CIE-LCHlch(44.65, 84.08, 300.22°)
OKLaboklab(54.02% 0.0246 -0.2093)
OKLCHoklch(54.02% 0.211 276.7)
XYZxyz(21.3038, 14.2894, 75.7490)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5656E5 #E5E556
analogous
#569EE5 #5656E5 #9E56E5
triadic
#5656E5 #E55656 #56E556
tetradic
#5656E5 #E5569E #E5E556 #56E59E
square
#5656E5 #E5569E #E5E556 #56E59E
split-complementary
#5656E5 #E59E56 #9EE556
monochromatic
#1A1AA7 #2222DC #5656E5 #8B8BED #C0C0F5

Accessibility & contrast

On white

5.44
#5656E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#5656E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5656E5
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5656E5#FFFFFF#000000##FFFFFF
##5656E51.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EA
Deuteranopia (green-blind)
#0063E2
Tritanopia (blue-blind)
#007A96
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5656e5;
/* rgb */ color: rgb(86, 86, 229);
/* oklch */ color: oklch(54.0% 0.211 276.7);
Tailwind
colors: {
  custom: {
    50: '#9486ee',
    500: '#5656e5',
    950: '#000000',
  },
}
SCSS
$custom: #5656e5;
$custom-light: #9486ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5656e5",
  "rgb": {
    "r": 86,
    "g": 86,
    "b": 229
  },
  "hsl": {
    "h": 240,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.54015,
    "c": 0.21075,
    "h": 276.7
  },
  "luminance": 0.14291
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5656E5

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

Preview Lab → · Contrast checker → · Palette generator →

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