#5656E1#5656E1

#5656E1 is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 53.7% C 0.206 H 276.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#5656E1
RGBrgb(86, 86, 225)
HSLhsl(240, 70%, 61%)
HSVhsv(240, 62%, 88%)
CMYKcmyk(61.8%, 61.8%, 0%, 11.8%)
CIE-LABlab(44.33, 41.03, -70.90)
CIE-LCHlch(44.33, 81.91, 300.06°)
OKLaboklab(53.69% 0.0248 -0.2041)
OKLCHoklch(53.69% 0.206 276.9)
XYZxyz(20.7517, 14.0686, 72.8415)
Luminance0.1407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5656E1 #E1E156
analogous
#569BE1 #5656E1 #9B56E1
triadic
#5656E1 #E15656 #56E156
tetradic
#5656E1 #E1569B #E1E156 #56E19B
square
#5656E1 #E1569B #E1E156 #56E19B
split-complementary
#5656E1 #E19B56 #9BE156
monochromatic
#1C1CA0 #2626D4 #5656E1 #8A8AEA #BEBEF3

Accessibility & contrast

On white

5.51
#5656E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#5656E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5656E1
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5656E1#FFFFFF#000000##FFFFFF
##5656E11.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE5
Deuteranopia (green-blind)
#0063DE
Tritanopia (blue-blind)
#007993
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5656e1;
/* rgb */ color: rgb(86, 86, 225);
/* oklch */ color: oklch(53.7% 0.206 276.9);
Tailwind
colors: {
  custom: {
    50: '#9486eb',
    500: '#5656e1',
    950: '#000000',
  },
}
SCSS
$custom: #5656e1;
$custom-light: #9486eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5656e1",
  "rgb": {
    "r": 86,
    "g": 86,
    "b": 225
  },
  "hsl": {
    "h": 240,
    "s": 69.849,
    "l": 60.98
  },
  "oklch": {
    "l": 0.53688,
    "c": 0.20565,
    "h": 276.9
  },
  "luminance": 0.1407
}

Semantic roles & 50–950 ramp

primary
#5656E1
secondary
#E4E4AF
accent
#D214D2
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5656E1

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

Preview Lab → · Contrast checker → · Palette generator →

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