#5656CF#5656CF

#5656CF is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.3% C 0.182 H 278.0°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#5656CF
RGBrgb(86, 86, 207)
HSLhsl(240, 56%, 57%)
HSVhsv(240, 58%, 81%)
CMYKcmyk(58.5%, 58.5%, 0%, 18.8%)
CIE-LABlab(42.97, 35.19, -62.83)
CIE-LCHlch(42.97, 72.01, 299.25°)
OKLaboklab(52.26% 0.0255 -0.1804)
OKLCHoklch(52.26% 0.182 278)
XYZxyz(18.4244, 13.1377, 60.5843)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5656CF #CFCF56
analogous
#5693CF #5656CF #9356CF
triadic
#5656CF #CF5656 #56CF56
tetradic
#5656CF #CF5693 #CFCF56 #56CF93
square
#5656CF #CF5693 #CFCF56 #56CF93
split-complementary
#5656CF #CF9356 #93CF56
monochromatic
#262685 #3333B5 #5656CF #8686DD #B5B5EA

Accessibility & contrast

On white

5.79
#5656CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#5656CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5656CF
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5656CF#FFFFFF#000000##FFFFFF
##5656CF1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5656cf;
/* rgb */ color: rgb(86, 86, 207);
/* oklch */ color: oklch(52.3% 0.182 278.0);
Tailwind
colors: {
  custom: {
    50: '#9186de',
    500: '#5656cf',
    950: '#000000',
  },
}
SCSS
$custom: #5656cf;
$custom-light: #9186de;
$custom-dark: #000000;
JSON
{
  "hex": "#5656cf",
  "rgb": {
    "r": 86,
    "g": 86,
    "b": 207
  },
  "hsl": {
    "h": 240,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52259,
    "c": 0.18222,
    "h": 278
  },
  "luminance": 0.13139
}

Semantic roles & 50–950 ramp

primary
#5656CF
secondary
#D9D9A8
accent
#DF49DF
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5656CF

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

Preview Lab → · Contrast checker → · Palette generator →

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