#5656AC#5656AC

#5656AC is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.7% C 0.134 H 280.4°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#5656AC
RGBrgb(86, 86, 172)
HSLhsl(240, 34%, 51%)
HSVhsv(240, 50%, 67%)
CMYKcmyk(50%, 50%, 0%, 32.5%)
CIE-LABlab(40.59, 23.90, -46.25)
CIE-LCHlch(40.59, 52.06, 297.33°)
OKLaboklab(49.73% 0.0241 -0.1317)
OKLCHoklch(49.73% 0.134 280.4)
XYZxyz(14.6097, 11.6118, 40.4932)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5656AC #ACAC56
analogous
#5681AC #5656AC #8156AC
triadic
#5656AC #AC5656 #56AC56
tetradic
#5656AC #AC5681 #ACAC56 #56AC81
square
#5656AC #AC5681 #ACAC56 #56AC81
split-complementary
#5656AC #AC8156 #81AC56
monochromatic
#2D2D5B #414184 #5656AC #7F7FC0 #A8A8D4

Accessibility & contrast

On white

6.32
#5656AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5656AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5656AC
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5656AC#FFFFFF#000000##FFFFFF
##5656AC1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E63AF
Deuteranopia (green-blind)
#275CAA
Tritanopia (blue-blind)
#356979
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5656ac;
/* rgb */ color: rgb(86, 86, 172);
/* oklch */ color: oklch(49.7% 0.134 280.4);
Tailwind
colors: {
  custom: {
    50: '#8b85c5',
    500: '#5656ac',
    950: '#000000',
  },
}
SCSS
$custom: #5656ac;
$custom-light: #8b85c5;
$custom-dark: #000000;
JSON
{
  "hex": "#5656ac",
  "rgb": {
    "r": 86,
    "g": 86,
    "b": 172
  },
  "hsl": {
    "h": 240,
    "s": 34.127,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49728,
    "c": 0.13387,
    "h": 280.4
  },
  "luminance": 0.11613
}

Semantic roles & 50–950 ramp

primary
#5656AC
secondary
#C2C29C
accent
#CA5ECA
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #5656AC

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

Preview Lab → · Contrast checker → · Palette generator →

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