#5656EE#5656EE

#5656EE is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 54.8% C 0.222 H 276.2°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5656EE
RGBrgb(86, 86, 238)
HSLhsl(240, 82%, 64%)
HSVhsv(240, 64%, 93%)
CMYKcmyk(63.9%, 63.9%, 0%, 6.7%)
CIE-LABlab(45.37, 45.22, -76.56)
CIE-LCHlch(45.37, 88.91, 300.57°)
OKLaboklab(54.77% 0.0239 -0.2208)
OKLCHoklch(54.77% 0.222 276.2)
XYZxyz(22.5931, 14.8052, 82.5394)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5656EE #EEEE56
analogous
#56A2EE #5656EE #A256EE
triadic
#5656EE #EE5656 #56EE56
tetradic
#5656EE #EE56A2 #EEEE56 #56EEA2
square
#5656EE #EE56A2 #EEEE56 #56EEA2
split-complementary
#5656EE #EEA256 #A2EE56
monochromatic
#1212B7 #1E1EE8 #5656EE #8E8EF4 #C5C5F9

Accessibility & contrast

On white

5.30
#5656EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#5656EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5656EE
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5656EE#FFFFFF#000000##FFFFFF
##5656EE1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5656ee;
/* rgb */ color: rgb(86, 86, 238);
/* oklch */ color: oklch(54.8% 0.222 276.2);
Tailwind
colors: {
  custom: {
    50: '#9686f5',
    500: '#5656ee',
    950: '#000000',
  },
}
SCSS
$custom: #5656ee;
$custom-light: #9686f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5656ee",
  "rgb": {
    "r": 86,
    "g": 86,
    "b": 238
  },
  "hsl": {
    "h": 240,
    "s": 81.72,
    "l": 63.529
  },
  "oklch": {
    "l": 0.54765,
    "c": 0.22205,
    "h": 276.2
  },
  "luminance": 0.14807
}

Semantic roles & 50–950 ramp

primary
#5656EE
secondary
#EBEBB5
accent
#DE07DE
background
#FAF8FF
surface
#F3EFFF
border
#CDCAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5656EE

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

Preview Lab → · Contrast checker → · Palette generator →

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