#5656E2#5656E2

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

Color values

HEX#5656E2
RGBrgb(86, 86, 226)
HSLhsl(240, 71%, 61%)
HSVhsv(240, 62%, 89%)
CMYKcmyk(61.9%, 61.9%, 0%, 11.4%)
CIE-LABlab(44.41, 41.35, -71.34)
CIE-LCHlch(44.41, 82.46, 300.10°)
OKLaboklab(53.77% 0.0248 -0.2054)
OKLCHoklch(53.77% 0.207 276.9)
XYZxyz(20.8886, 14.1233, 73.5621)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5656E2 #E2E256
analogous
#569CE2 #5656E2 #9C56E2
triadic
#5656E2 #E25656 #56E256
tetradic
#5656E2 #E2569C #E2E256 #56E29C
square
#5656E2 #E2569C #E2E256 #56E29C
split-complementary
#5656E2 #E29C56 #9CE256
monochromatic
#1C1CA2 #2525D6 #5656E2 #8A8AEB #BEBEF4

Accessibility & contrast

On white

5.49
#5656E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#5656E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5656E2
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5656E2#FFFFFF#000000##FFFFFF
##5656E21.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE7
Deuteranopia (green-blind)
#0063DF
Tritanopia (blue-blind)
#007994
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5656e2;
/* rgb */ color: rgb(86, 86, 226);
/* oklch */ color: oklch(53.8% 0.207 276.9);
Tailwind
colors: {
  custom: {
    50: '#9486ec',
    500: '#5656e2',
    950: '#000000',
  },
}
SCSS
$custom: #5656e2;
$custom-light: #9486ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5656e2",
  "rgb": {
    "r": 86,
    "g": 86,
    "b": 226
  },
  "hsl": {
    "h": 240,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.53769,
    "c": 0.20694,
    "h": 276.9
  },
  "luminance": 0.14125
}

Semantic roles & 50–950 ramp

primary
#5656E2
secondary
#E4E4B0
accent
#D313D3
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5656E2

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

Preview Lab → · Contrast checker → · Palette generator →

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