#5656EF#5656EF

#5656EF is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.9% C 0.223 H 276.1°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5656EF
RGBrgb(86, 86, 239)
HSLhsl(240, 83%, 64%)
HSVhsv(240, 64%, 94%)
CMYKcmyk(64%, 64%, 0%, 6.3%)
CIE-LABlab(45.45, 45.54, -76.99)
CIE-LCHlch(45.45, 89.45, 300.61°)
OKLaboklab(54.85% 0.0238 -0.222)
OKLCHoklch(54.85% 0.223 276.1)
XYZxyz(22.7404, 14.8641, 83.3153)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5656EF #EFEF56
analogous
#56A2EF #5656EF #A256EF
triadic
#5656EF #EF5656 #56EF56
tetradic
#5656EF #EF56A2 #EFEF56 #56EFA2
square
#5656EF #EF56A2 #EFEF56 #56EFA2
split-complementary
#5656EF #EFA256 #A2EF56
monochromatic
#1212B9 #1E1EEA #5656EF #8E8EF4 #C6C6FA

Accessibility & contrast

On white

5.29
#5656EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#5656EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5656EF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5656EF#FFFFFF#000000##FFFFFF
##5656EF1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F4
Deuteranopia (green-blind)
#0065EC
Tritanopia (blue-blind)
#007D9B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5656ef;
/* rgb */ color: rgb(86, 86, 239);
/* oklch */ color: oklch(54.9% 0.223 276.1);
Tailwind
colors: {
  custom: {
    50: '#9686f5',
    500: '#5656ef',
    950: '#000000',
  },
}
SCSS
$custom: #5656ef;
$custom-light: #9686f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5656ef",
  "rgb": {
    "r": 86,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 240,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.5485,
    "c": 0.22329,
    "h": 276.1
  },
  "luminance": 0.14866
}

Semantic roles & 50–950 ramp

primary
#5656EF
secondary
#EBEBB5
accent
#DF06DF
background
#FAF8FF
surface
#F3EFFF
border
#CDCAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5656EF

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

Preview Lab → · Contrast checker → · Palette generator →

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