#5656BB#5656BB

#5656BB is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.8% C 0.155 H 279.3°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#5656BB
RGBrgb(86, 86, 187)
HSLhsl(240, 43%, 54%)
HSVhsv(240, 54%, 73%)
CMYKcmyk(54%, 54%, 0%, 26.7%)
CIE-LABlab(41.57, 28.71, -53.51)
CIE-LCHlch(41.57, 60.72, 298.22°)
OKLaboklab(50.77% 0.0252 -0.153)
OKLCHoklch(50.77% 0.155 279.3)
XYZxyz(16.1324, 12.2209, 48.5129)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5656BB #BBBB56
analogous
#5688BB #5656BB #8856BB
triadic
#5656BB #BB5656 #56BB56
tetradic
#5656BB #BB5688 #BBBB56 #56BB88
square
#5656BB #BB5688 #BBBB56 #56BB88
split-complementary
#5656BB #BB8856 #88BB56
monochromatic
#2B2B6B #3D3D97 #5656BB #8282CD #ADADDE

Accessibility & contrast

On white

6.10
#5656BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#5656BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5656BB
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5656BB#FFFFFF#000000##FFFFFF
##5656BB1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A66BE
Deuteranopia (green-blind)
#035EB9
Tritanopia (blue-blind)
#286D80
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5656bb;
/* rgb */ color: rgb(86, 86, 187);
/* oklch */ color: oklch(50.8% 0.155 279.3);
Tailwind
colors: {
  custom: {
    50: '#8e85d0',
    500: '#5656bb',
    950: '#000000',
  },
}
SCSS
$custom: #5656bb;
$custom-light: #8e85d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5656bb",
  "rgb": {
    "r": 86,
    "g": 86,
    "b": 187
  },
  "hsl": {
    "h": 240,
    "s": 42.616,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50769,
    "c": 0.15507,
    "h": 279.3
  },
  "luminance": 0.12222
}

Semantic roles & 50–950 ramp

primary
#5656BB
secondary
#CCCCA1
accent
#D255D2
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5656BB

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

Preview Lab → · Contrast checker → · Palette generator →

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