#565781#565781

#565781 is a mid, moderate blue. Relative luminance 0.104; OKLCH L 47.4% C 0.067 H 282.5°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#565781
RGBrgb(86, 87, 129)
HSLhsl(239, 20%, 42%)
HSVhsv(239, 33%, 51%)
CMYKcmyk(33.3%, 32.6%, 0%, 49.4%)
CIE-LABlab(38.52, 10.20, -23.68)
CIE-LCHlch(38.52, 25.79, 293.31°)
OKLaboklab(47.38% 0.0146 -0.0659)
OKLCHoklch(47.38% 0.067 282.5)
XYZxyz(11.2073, 10.3795, 22.1776)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565781 #818056
analogous
#566D81 #565781 #6B5681
triadic
#565781 #815657 #578156
tetradic
#565781 #81566D #818056 #56816B
square
#565781 #81566D #818056 #56816B
split-complementary
#565781 #816B56 #6D8156
monochromatic
#252538 #3E3E5C #565781 #7374A1 #9798BA

Accessibility & contrast

On white

6.83
#565781 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#565781 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #565781
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565781#FFFFFF#000000##FFFFFF
##5657811.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5C83
Deuteranopia (green-blind)
#495980
Tritanopia (blue-blind)
#4B5F66
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #565781;
/* rgb */ color: rgb(86, 87, 129);
/* oklch */ color: oklch(47.4% 0.067 282.5);
Tailwind
colors: {
  custom: {
    50: '#8786a5',
    500: '#565781',
    950: '#000000',
  },
}
SCSS
$custom: #565781;
$custom-light: #8786a5;
$custom-dark: #000000;
JSON
{
  "hex": "#565781",
  "rgb": {
    "r": 86,
    "g": 87,
    "b": 129
  },
  "hsl": {
    "h": 238.605,
    "s": 20,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4738,
    "c": 0.06748,
    "h": 282.5
  },
  "luminance": 0.1038
}

Semantic roles & 50–950 ramp

primary
#565781
secondary
#A8A78B
accent
#BB6BBD
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B0F
muted
#7C7C7F

Preview Lab

Preview with #565781

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

Preview Lab → · Contrast checker → · Palette generator →

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