#5656E4#5656E4

#5656E4 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 53.9% C 0.209 H 276.8°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#5656E4
RGBrgb(86, 86, 228)
HSLhsl(240, 72%, 62%)
HSVhsv(240, 62%, 89%)
CMYKcmyk(62.3%, 62.3%, 0%, 10.6%)
CIE-LABlab(44.57, 42.00, -72.22)
CIE-LCHlch(44.57, 83.54, 300.18°)
OKLaboklab(53.93% 0.0246 -0.208)
OKLCHoklch(53.93% 0.209 276.8)
XYZxyz(21.1646, 14.2337, 75.0158)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5656E4 #E4E456
analogous
#569DE4 #5656E4 #9D56E4
triadic
#5656E4 #E45656 #56E456
tetradic
#5656E4 #E4569D #E4E456 #56E49D
square
#5656E4 #E4569D #E4E456 #56E49D
split-complementary
#5656E4 #E49D56 #9DE456
monochromatic
#1A1AA5 #2323DA #5656E4 #8B8BEC #C0C0F5

Accessibility & contrast

On white

5.46
#5656E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#5656E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5656E4
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5656E4#FFFFFF#000000##FFFFFF
##5656E41.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E9
Deuteranopia (green-blind)
#0063E1
Tritanopia (blue-blind)
#007A95
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5656e4;
/* rgb */ color: rgb(86, 86, 228);
/* oklch */ color: oklch(53.9% 0.209 276.8);
Tailwind
colors: {
  custom: {
    50: '#9486ee',
    500: '#5656e4',
    950: '#000000',
  },
}
SCSS
$custom: #5656e4;
$custom-light: #9486ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5656e4",
  "rgb": {
    "r": 86,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 240,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.53933,
    "c": 0.20948,
    "h": 276.8
  },
  "luminance": 0.14235
}

Semantic roles & 50–950 ramp

primary
#5656E4
secondary
#E5E5B0
accent
#D511D5
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5656E4

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

Preview Lab → · Contrast checker → · Palette generator →

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