#5656ED#5656ED

#5656ED is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.7% C 0.221 H 276.2°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#5656ED
RGBrgb(86, 86, 237)
HSLhsl(240, 81%, 63%)
HSVhsv(240, 64%, 93%)
CMYKcmyk(63.7%, 63.7%, 0%, 7.1%)
CIE-LABlab(45.29, 44.90, -76.13)
CIE-LCHlch(45.29, 88.38, 300.53°)
OKLaboklab(54.68% 0.024 -0.2195)
OKLCHoklch(54.68% 0.221 276.2)
XYZxyz(22.4466, 14.7466, 81.7678)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5656ED #EDED56
analogous
#56A1ED #5656ED #A156ED
triadic
#5656ED #ED5656 #56ED56
tetradic
#5656ED #ED56A1 #EDED56 #56EDA1
square
#5656ED #ED56A1 #EDED56 #56EDA1
split-complementary
#5656ED #EDA156 #A1ED56
monochromatic
#1313B5 #1F1FE7 #5656ED #8D8DF3 #C5C5F9

Accessibility & contrast

On white

5.32
#5656ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#5656ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5656ED
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5656ED#FFFFFF#000000##FFFFFF
##5656ED1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F2
Deuteranopia (green-blind)
#0065EA
Tritanopia (blue-blind)
#007D9A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5656ed;
/* rgb */ color: rgb(86, 86, 237);
/* oklch */ color: oklch(54.7% 0.221 276.2);
Tailwind
colors: {
  custom: {
    50: '#9686f4',
    500: '#5656ed',
    950: '#000000',
  },
}
SCSS
$custom: #5656ed;
$custom-light: #9686f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5656ed",
  "rgb": {
    "r": 86,
    "g": 86,
    "b": 237
  },
  "hsl": {
    "h": 240,
    "s": 80.749,
    "l": 63.333
  },
  "oklch": {
    "l": 0.54681,
    "c": 0.2208,
    "h": 276.2
  },
  "luminance": 0.14748
}

Semantic roles & 50–950 ramp

primary
#5656ED
secondary
#EAEAB4
accent
#DD08DD
background
#FAF8FF
surface
#F3EFFE
border
#CDCAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5656ED

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

Preview Lab → · Contrast checker → · Palette generator →

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