#5656AF#5656AF

#5656AF is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.9% C 0.138 H 280.2°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#5656AF
RGBrgb(86, 86, 175)
HSLhsl(240, 36%, 51%)
HSVhsv(240, 51%, 69%)
CMYKcmyk(50.9%, 50.9%, 0%, 31.4%)
CIE-LABlab(40.78, 24.86, -47.72)
CIE-LCHlch(40.78, 53.81, 297.52°)
OKLaboklab(49.93% 0.0244 -0.136)
OKLCHoklch(49.93% 0.138 280.2)
XYZxyz(14.9010, 11.7283, 42.0277)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5656AF #AFAF56
analogous
#5682AF #5656AF #8256AF
triadic
#5656AF #AF5656 #56AF56
tetradic
#5656AF #AF5682 #AFAF56 #56AF82
square
#5656AF #AF5682 #AFAF56 #56AF82
split-complementary
#5656AF #AF8256 #82AF56
monochromatic
#2D2D5E #404088 #5656AF #8080C3 #A9A9D6

Accessibility & contrast

On white

6.28
#5656AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5656AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5656AF
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5656AF#FFFFFF#000000##FFFFFF
##5656AF1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B64B2
Deuteranopia (green-blind)
#235DAD
Tritanopia (blue-blind)
#33697A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5656af;
/* rgb */ color: rgb(86, 86, 175);
/* oklch */ color: oklch(49.9% 0.138 280.2);
Tailwind
colors: {
  custom: {
    50: '#8c85c7',
    500: '#5656af',
    950: '#000000',
  },
}
SCSS
$custom: #5656af;
$custom-light: #8c85c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5656af",
  "rgb": {
    "r": 86,
    "g": 86,
    "b": 175
  },
  "hsl": {
    "h": 240,
    "s": 35.743,
    "l": 51.176
  },
  "oklch": {
    "l": 0.4993,
    "c": 0.13817,
    "h": 280.2
  },
  "luminance": 0.11729
}

Semantic roles & 50–950 ramp

primary
#5656AF
secondary
#C4C49D
accent
#CC5CCC
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0D0B13
muted
#7D7C82

Preview Lab

Preview with #5656AF

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

Preview Lab → · Contrast checker → · Palette generator →

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