#5656CA#5656CA

#5656CA is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.9% C 0.176 H 278.4°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#5656CA
RGBrgb(86, 86, 202)
HSLhsl(240, 52%, 56%)
HSVhsv(240, 57%, 79%)
CMYKcmyk(57.4%, 57.4%, 0%, 20.8%)
CIE-LABlab(42.61, 33.57, -60.53)
CIE-LCHlch(42.61, 69.22, 299.01°)
OKLaboklab(51.88% 0.0255 -0.1737)
OKLCHoklch(51.88% 0.176 278.4)
XYZxyz(17.8228, 12.8970, 57.4159)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5656CA #CACA56
analogous
#5690CA #5656CA #9056CA
triadic
#5656CA #CA5656 #56CA56
tetradic
#5656CA #CA5690 #CACA56 #56CA90
square
#5656CA #CA5690 #CACA56 #56CA90
split-complementary
#5656CA #CA9056 #90CA56
monochromatic
#28287E #3636AD #5656CA #8585D9 #B3B3E7

Accessibility & contrast

On white

5.87
#5656CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#5656CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5656CA
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5656CA#FFFFFF#000000##FFFFFF
##5656CA1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#0D7188
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5656ca;
/* rgb */ color: rgb(86, 86, 202);
/* oklch */ color: oklch(51.9% 0.176 278.4);
Tailwind
colors: {
  custom: {
    50: '#9085db',
    500: '#5656ca',
    950: '#000000',
  },
}
SCSS
$custom: #5656ca;
$custom-light: #9085db;
$custom-dark: #000000;
JSON
{
  "hex": "#5656ca",
  "rgb": {
    "r": 86,
    "g": 86,
    "b": 202
  },
  "hsl": {
    "h": 240,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51876,
    "c": 0.17554,
    "h": 278.4
  },
  "luminance": 0.12898
}

Semantic roles & 50–950 ramp

primary
#5656CA
secondary
#D6D6A6
accent
#DC4CDC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5656CA

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

Preview Lab → · Contrast checker → · Palette generator →

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