#565799#565799

#565799 is a mid, moderate blue. Relative luminance 0.111; OKLCH L 48.7% C 0.104 H 281.1°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#565799
RGBrgb(86, 87, 153)
HSLhsl(239, 28%, 47%)
HSVhsv(239, 44%, 60%)
CMYKcmyk(43.8%, 43.1%, 0%, 40%)
CIE-LABlab(39.74, 17.32, -36.30)
CIE-LCHlch(39.74, 40.22, 295.51°)
OKLaboklab(48.72% 0.0202 -0.1025)
OKLCHoklch(48.72% 0.104 281.1)
XYZxyz(12.9940, 11.0942, 31.5875)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565799 #999856
analogous
#567999 #565799 #775699
triadic
#565799 #995657 #579956
tetradic
#565799 #995679 #999856 #569977
square
#565799 #995679 #999856 #569977
split-complementary
#565799 #997756 #799956
monochromatic
#2A2A4B #404172 #565799 #797AB4 #A0A0CA

Accessibility & contrast

On white

6.52
#565799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#565799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #565799
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565799#FFFFFF#000000##FFFFFF
##5657991.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F609C
Deuteranopia (green-blind)
#3B5B97
Tritanopia (blue-blind)
#416470
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #565799;
/* rgb */ color: rgb(86, 87, 153);
/* oklch */ color: oklch(48.7% 0.104 281.1);
Tailwind
colors: {
  custom: {
    50: '#8986b7',
    500: '#565799',
    950: '#000000',
  },
}
SCSS
$custom: #565799;
$custom-light: #8986b7;
$custom-dark: #000000;
JSON
{
  "hex": "#565799",
  "rgb": {
    "r": 86,
    "g": 87,
    "b": 153
  },
  "hsl": {
    "h": 239.104,
    "s": 28.033,
    "l": 46.863
  },
  "oklch": {
    "l": 0.48719,
    "c": 0.10447,
    "h": 281.1
  },
  "luminance": 0.11095
}

Semantic roles & 50–950 ramp

primary
#565799
secondary
#B7B694
accent
#C363C4
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B11
muted
#7D7C80

Preview Lab

Preview with #565799

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

Preview Lab → · Contrast checker → · Palette generator →

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