#565796#565796

#565796 is a mid, moderate blue. Relative luminance 0.110; OKLCH L 48.5% C 0.100 H 281.3°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#565796
RGBrgb(86, 87, 150)
HSLhsl(239, 27%, 46%)
HSVhsv(239, 43%, 59%)
CMYKcmyk(42.7%, 42%, 0%, 41.2%)
CIE-LABlab(39.57, 16.41, -34.76)
CIE-LCHlch(39.57, 38.43, 295.27°)
OKLaboklab(48.54% 0.0196 -0.098)
OKLCHoklch(48.54% 0.1 281.3)
XYZxyz(12.7494, 10.9963, 30.2990)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565796 #969556
analogous
#567796 #565796 #755696
triadic
#565796 #965657 #579656
tetradic
#565796 #965677 #969556 #569675
square
#565796 #965677 #969556 #569675
split-complementary
#565796 #967556 #779656
monochromatic
#292A48 #40406F #565796 #7879B1 #9F9FC8

Accessibility & contrast

On white

6.56
#565796 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#565796 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #565796
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565796#FFFFFF#000000##FFFFFF
##5657961.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406098
Deuteranopia (green-blind)
#3D5B95
Tritanopia (blue-blind)
#42646F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #565796;
/* rgb */ color: rgb(86, 87, 150);
/* oklch */ color: oklch(48.5% 0.100 281.3);
Tailwind
colors: {
  custom: {
    50: '#8986b5',
    500: '#565796',
    950: '#000000',
  },
}
SCSS
$custom: #565796;
$custom-light: #8986b5;
$custom-dark: #000000;
JSON
{
  "hex": "#565796",
  "rgb": {
    "r": 86,
    "g": 87,
    "b": 150
  },
  "hsl": {
    "h": 239.063,
    "s": 27.119,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4854,
    "c": 0.09993,
    "h": 281.3
  },
  "luminance": 0.10997
}

Semantic roles & 50–950 ramp

primary
#565796
secondary
#B5B593
accent
#C264C3
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B11
muted
#7D7C80

Preview Lab

Preview with #565796

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

Preview Lab → · Contrast checker → · Palette generator →

#565796 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva