#5656E8#5656E8

#5656E8 is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.3% C 0.215 H 276.5°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5656E8
RGBrgb(86, 86, 232)
HSLhsl(240, 76%, 62%)
HSVhsv(240, 63%, 91%)
CMYKcmyk(62.9%, 62.9%, 0%, 9%)
CIE-LABlab(44.88, 43.29, -73.96)
CIE-LCHlch(44.88, 85.70, 300.34°)
OKLaboklab(54.26% 0.0244 -0.2131)
OKLCHoklch(54.26% 0.215 276.5)
XYZxyz(21.7263, 14.4584, 77.9741)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5656E8 #E8E856
analogous
#569FE8 #5656E8 #9F56E8
triadic
#5656E8 #E85656 #56E856
tetradic
#5656E8 #E8569F #E8E856 #56E89F
square
#5656E8 #E8569F #E8E856 #56E89F
split-complementary
#5656E8 #E89F56 #9FE856
monochromatic
#1717AC #2020E1 #5656E8 #8C8CEF #C2C2F7

Accessibility & contrast

On white

5.40
#5656E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#5656E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5656E8
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5656E8#FFFFFF#000000##FFFFFF
##5656E81.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071ED
Deuteranopia (green-blind)
#0064E5
Tritanopia (blue-blind)
#007B97
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5656e8;
/* rgb */ color: rgb(86, 86, 232);
/* oklch */ color: oklch(54.3% 0.215 276.5);
Tailwind
colors: {
  custom: {
    50: '#9586f0',
    500: '#5656e8',
    950: '#000000',
  },
}
SCSS
$custom: #5656e8;
$custom-light: #9586f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5656e8",
  "rgb": {
    "r": 86,
    "g": 86,
    "b": 232
  },
  "hsl": {
    "h": 240,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.54263,
    "c": 0.21454,
    "h": 276.5
  },
  "luminance": 0.1446
}

Semantic roles & 50–950 ramp

primary
#5656E8
secondary
#E8E8B2
accent
#D80DD8
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B17
muted
#7E7C85

Preview Lab

Preview with #5656E8

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

Preview Lab → · Contrast checker → · Palette generator →

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