#5656DE#5656DE

#5656DE is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.4% C 0.202 H 277.1°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#5656DE
RGBrgb(86, 86, 222)
HSLhsl(240, 67%, 60%)
HSVhsv(240, 61%, 87%)
CMYKcmyk(61.3%, 61.3%, 0%, 12.9%)
CIE-LABlab(44.10, 40.06, -69.57)
CIE-LCHlch(44.10, 80.28, 299.93°)
OKLaboklab(53.44% 0.025 -0.2003)
OKLCHoklch(53.44% 0.202 277.1)
XYZxyz(20.3461, 13.9063, 70.7051)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5656DE #DEDE56
analogous
#569ADE #5656DE #9A56DE
triadic
#5656DE #DE5656 #56DE56
tetradic
#5656DE #DE569A #DEDE56 #56DE9A
square
#5656DE #DE569A #DEDE56 #56DE9A
split-complementary
#5656DE #DE9A56 #9ADE56
monochromatic
#1E1E9B #2828CE #5656DE #8989E8 #BCBCF2

Accessibility & contrast

On white

5.55
#5656DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#5656DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5656DE
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5656DE#FFFFFF#000000##FFFFFF
##5656DE1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE2
Deuteranopia (green-blind)
#0062DB
Tritanopia (blue-blind)
#007892
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5656de;
/* rgb */ color: rgb(86, 86, 222);
/* oklch */ color: oklch(53.4% 0.202 277.1);
Tailwind
colors: {
  custom: {
    50: '#9386e9',
    500: '#5656de',
    950: '#000000',
  },
}
SCSS
$custom: #5656de;
$custom-light: #9386e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5656de",
  "rgb": {
    "r": 86,
    "g": 86,
    "b": 222
  },
  "hsl": {
    "h": 240,
    "s": 67.327,
    "l": 60.392
  },
  "oklch": {
    "l": 0.53444,
    "c": 0.20181,
    "h": 277.1
  },
  "luminance": 0.13908
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5656DE

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

Preview Lab → · Contrast checker → · Palette generator →

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