#565795#565795

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

Color values

HEX#565795
RGBrgb(86, 87, 149)
HSLhsl(239, 27%, 46%)
HSVhsv(239, 42%, 58%)
CMYKcmyk(42.3%, 41.6%, 0%, 41.6%)
CIE-LABlab(39.52, 16.10, -34.24)
CIE-LCHlch(39.52, 37.84, 295.18°)
OKLaboklab(48.48% 0.0194 -0.0965)
OKLCHoklch(48.48% 0.098 281.4)
XYZxyz(12.6692, 10.9642, 29.8767)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565795 #959456
analogous
#567695 #565795 #745695
triadic
#565795 #955657 #579556
tetradic
#565795 #955676 #959456 #569574
square
#565795 #955676 #959456 #569574
split-complementary
#565795 #957456 #769556
monochromatic
#292A47 #40406E #565795 #7778B1 #9E9FC7

Accessibility & contrast

On white

6.58
#565795 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#565795 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #565795
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565795#FFFFFF#000000##FFFFFF
##5657951.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415F97
Deuteranopia (green-blind)
#3E5B94
Tritanopia (blue-blind)
#43636F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #565795;
/* rgb */ color: rgb(86, 87, 149);
/* oklch */ color: oklch(48.5% 0.098 281.4);
Tailwind
colors: {
  custom: {
    50: '#8986b4',
    500: '#565795',
    950: '#000000',
  },
}
SCSS
$custom: #565795;
$custom-light: #8986b4;
$custom-dark: #000000;
JSON
{
  "hex": "#565795",
  "rgb": {
    "r": 86,
    "g": 87,
    "b": 149
  },
  "hsl": {
    "h": 239.048,
    "s": 26.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48481,
    "c": 0.09842,
    "h": 281.4
  },
  "luminance": 0.10965
}

Semantic roles & 50–950 ramp

primary
#565795
secondary
#B5B492
accent
#C265C3
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B11
muted
#7D7C80

Preview Lab

Preview with #565795

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

Preview Lab → · Contrast checker → · Palette generator →

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