#5656E0#5656E0

#5656E0 is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 53.6% C 0.204 H 277.0°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#5656E0
RGBrgb(86, 86, 224)
HSLhsl(240, 69%, 61%)
HSVhsv(240, 62%, 88%)
CMYKcmyk(61.6%, 61.6%, 0%, 12.2%)
CIE-LABlab(44.25, 40.70, -70.46)
CIE-LCHlch(44.25, 81.37, 300.01°)
OKLaboklab(53.61% 0.0249 -0.2029)
OKLCHoklch(53.61% 0.204 277)
XYZxyz(20.6157, 14.0142, 72.1252)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5656E0 #E0E056
analogous
#569BE0 #5656E0 #9B56E0
triadic
#5656E0 #E05656 #56E056
tetradic
#5656E0 #E0569B #E0E056 #56E09B
square
#5656E0 #E0569B #E0E056 #56E09B
split-complementary
#5656E0 #E09B56 #9BE056
monochromatic
#1D1D9F #2727D2 #5656E0 #8A8AE9 #BDBDF3

Accessibility & contrast

On white

5.52
#5656E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#5656E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5656E0
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5656E0#FFFFFF#000000##FFFFFF
##5656E01.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE4
Deuteranopia (green-blind)
#0063DD
Tritanopia (blue-blind)
#007893
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5656e0;
/* rgb */ color: rgb(86, 86, 224);
/* oklch */ color: oklch(53.6% 0.204 277.0);
Tailwind
colors: {
  custom: {
    50: '#9386eb',
    500: '#5656e0',
    950: '#000000',
  },
}
SCSS
$custom: #5656e0;
$custom-light: #9386eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5656e0",
  "rgb": {
    "r": 86,
    "g": 86,
    "b": 224
  },
  "hsl": {
    "h": 240,
    "s": 69,
    "l": 60.784
  },
  "oklch": {
    "l": 0.53606,
    "c": 0.20438,
    "h": 277
  },
  "luminance": 0.14016
}

Semantic roles & 50–950 ramp

primary
#5656E0
secondary
#E3E3AF
accent
#D115D1
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5656E0

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

Preview Lab → · Contrast checker → · Palette generator →

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