#5656DF#5656DF

#5656DF is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 53.5% C 0.203 H 277.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#5656DF
RGBrgb(86, 86, 223)
HSLhsl(240, 68%, 61%)
HSVhsv(240, 61%, 87%)
CMYKcmyk(61.4%, 61.4%, 0%, 12.5%)
CIE-LABlab(44.18, 40.38, -70.02)
CIE-LCHlch(44.18, 80.83, 299.97°)
OKLaboklab(53.53% 0.0249 -0.2016)
OKLCHoklch(53.53% 0.203 277.1)
XYZxyz(20.4805, 13.9601, 71.4130)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5656DF #DFDF56
analogous
#569ADF #5656DF #9A56DF
triadic
#5656DF #DF5656 #56DF56
tetradic
#5656DF #DF569A #DFDF56 #56DF9A
square
#5656DF #DF569A #DFDF56 #56DF9A
split-complementary
#5656DF #DF9A56 #9ADF56
monochromatic
#1E1E9D #2727D0 #5656DF #8989E9 #BDBDF2

Accessibility & contrast

On white

5.54
#5656DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#5656DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5656DF
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5656DF#FFFFFF#000000##FFFFFF
##5656DF1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE3
Deuteranopia (green-blind)
#0063DC
Tritanopia (blue-blind)
#007892
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5656df;
/* rgb */ color: rgb(86, 86, 223);
/* oklch */ color: oklch(53.5% 0.203 277.1);
Tailwind
colors: {
  custom: {
    50: '#9386ea',
    500: '#5656df',
    950: '#000000',
  },
}
SCSS
$custom: #5656df;
$custom-light: #9386ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5656df",
  "rgb": {
    "r": 86,
    "g": 86,
    "b": 223
  },
  "hsl": {
    "h": 240,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.53525,
    "c": 0.2031,
    "h": 277.1
  },
  "luminance": 0.13962
}

Semantic roles & 50–950 ramp

primary
#5656DF
secondary
#E2E2AE
accent
#D015D0
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5656DF

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

Preview Lab → · Contrast checker → · Palette generator →

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