#5656FF#5656FF

#5656FF is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 56.2% C 0.243 H 275.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5656FF
RGBrgb(86, 86, 255)
HSLhsl(240, 100%, 67%)
HSVhsv(240, 66%, 100%)
CMYKcmyk(66.3%, 66.3%, 0%, 0%)
CIE-LABlab(46.78, 50.65, -83.75)
CIE-LCHlch(46.78, 97.88, 301.17°)
OKLaboklab(56.23% 0.0223 -0.2418)
OKLCHoklch(56.23% 0.243 275.3)
XYZxyz(25.2096, 15.8517, 96.3195)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5656FF #FFFF56
analogous
#56ABFF #5656FF #AB56FF
triadic
#5656FF #FF5656 #56FF56
tetradic
#5656FF #FF56AB #FFFF56 #56FFAB
square
#5656FF #FF56AB #FFFF56 #56FFAB
split-complementary
#5656FF #FFAB56 #ABFF56
monochromatic
#0000DB #1919FF #5656FF #9393FF #D0D0FF

Accessibility & contrast

On white

5.04
#5656FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#5656FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5656FF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5656FF#FFFFFF#000000##FFFFFF
##5656FF1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FF
Deuteranopia (green-blind)
#0067FC
Tritanopia (blue-blind)
#0083A3
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5656ff;
/* rgb */ color: rgb(86, 86, 255);
/* oklch */ color: oklch(56.2% 0.243 275.3);
Tailwind
colors: {
  custom: {
    50: '#9986ff',
    500: '#5656ff',
    950: '#000000',
  },
}
SCSS
$custom: #5656ff;
$custom-light: #9986ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5656ff",
  "rgb": {
    "r": 86,
    "g": 86,
    "b": 255
  },
  "hsl": {
    "h": 240,
    "s": 100,
    "l": 66.863
  },
  "oklch": {
    "l": 0.56226,
    "c": 0.24285,
    "h": 275.3
  },
  "luminance": 0.15854
}

Semantic roles & 50–950 ramp

primary
#5656FF
secondary
#F3F3BD
accent
#E600E5
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #5656FF

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

Preview Lab → · Contrast checker → · Palette generator →

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