#565797#565797

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

Color values

HEX#565797
RGBrgb(86, 87, 151)
HSLhsl(239, 27%, 46%)
HSVhsv(239, 43%, 59%)
CMYKcmyk(43%, 42.4%, 0%, 40.8%)
CIE-LABlab(39.63, 16.71, -35.27)
CIE-LCHlch(39.63, 39.03, 295.35°)
OKLaboklab(48.6% 0.0198 -0.0995)
OKLCHoklch(48.6% 0.101 281.3)
XYZxyz(12.8302, 11.0286, 30.7249)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565797 #979656
analogous
#567897 #565797 #765697
triadic
#565797 #975657 #579756
tetradic
#565797 #975678 #979656 #569776
square
#565797 #975678 #979656 #569776
split-complementary
#565797 #977656 #789756
monochromatic
#2A2A49 #404170 #565797 #7879B2 #9FA0C8

Accessibility & contrast

On white

6.55
#565797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#565797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #565797
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565797#FFFFFF#000000##FFFFFF
##5657971.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #565797;
/* rgb */ color: rgb(86, 87, 151);
/* oklch */ color: oklch(48.6% 0.101 281.3);
Tailwind
colors: {
  custom: {
    50: '#8986b6',
    500: '#565797',
    950: '#000000',
  },
}
SCSS
$custom: #565797;
$custom-light: #8986b6;
$custom-dark: #000000;
JSON
{
  "hex": "#565797",
  "rgb": {
    "r": 86,
    "g": 87,
    "b": 151
  },
  "hsl": {
    "h": 239.077,
    "s": 27.426,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48599,
    "c": 0.10145,
    "h": 281.3
  },
  "luminance": 0.11029
}

Semantic roles & 50–950 ramp

primary
#565797
secondary
#B6B593
accent
#C264C4
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B11
muted
#7D7C80

Preview Lab

Preview with #565797

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

Preview Lab → · Contrast checker → · Palette generator →

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