#5656CE#5656CE

#5656CE is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.2% C 0.181 H 278.1°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#5656CE
RGBrgb(86, 86, 206)
HSLhsl(240, 55%, 57%)
HSVhsv(240, 58%, 81%)
CMYKcmyk(58.3%, 58.3%, 0%, 19.2%)
CIE-LABlab(42.90, 34.87, -62.37)
CIE-LCHlch(42.90, 71.45, 299.21°)
OKLaboklab(52.18% 0.0255 -0.1791)
OKLCHoklch(52.18% 0.181 278.1)
XYZxyz(18.3026, 13.0889, 59.9425)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5656CE #CECE56
analogous
#5692CE #5656CE #9256CE
triadic
#5656CE #CE5656 #56CE56
tetradic
#5656CE #CE5692 #CECE56 #56CE92
square
#5656CE #CE5692 #CECE56 #56CE92
split-complementary
#5656CE #CE9256 #92CE56
monochromatic
#262683 #3434B3 #5656CE #8585DC #B5B5EA

Accessibility & contrast

On white

5.80
#5656CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#5656CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5656CE
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5656CE#FFFFFF#000000##FFFFFF
##5656CE1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD2
Deuteranopia (green-blind)
#0060CC
Tritanopia (blue-blind)
#00738A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5656ce;
/* rgb */ color: rgb(86, 86, 206);
/* oklch */ color: oklch(52.2% 0.181 278.1);
Tailwind
colors: {
  custom: {
    50: '#9086de',
    500: '#5656ce',
    950: '#000000',
  },
}
SCSS
$custom: #5656ce;
$custom-light: #9086de;
$custom-dark: #000000;
JSON
{
  "hex": "#5656ce",
  "rgb": {
    "r": 86,
    "g": 86,
    "b": 206
  },
  "hsl": {
    "h": 240,
    "s": 55.046,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52182,
    "c": 0.18089,
    "h": 278.1
  },
  "luminance": 0.1309
}

Semantic roles & 50–950 ramp

primary
#5656CE
secondary
#D8D8A8
accent
#DE49DE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5656CE

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

Preview Lab → · Contrast checker → · Palette generator →

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