#565899#565899

#565899 is a mid, moderate blue. Relative luminance 0.113; OKLCH L 48.9% C 0.103 H 280.5°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#565899
RGBrgb(86, 88, 153)
HSLhsl(238, 28%, 47%)
HSVhsv(238, 44%, 60%)
CMYKcmyk(43.8%, 42.5%, 0%, 40%)
CIE-LABlab(40.01, 16.69, -35.87)
CIE-LCHlch(40.01, 39.56, 294.95°)
OKLaboklab(48.93% 0.0188 -0.1012)
OKLCHoklch(48.93% 0.103 280.5)
XYZxyz(13.0755, 11.2572, 31.6147)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565899 #999756
analogous
#567A99 #565899 #765699
triadic
#565899 #995658 #589956
tetradic
#565899 #99567A #999756 #569976
square
#565899 #99567A #999756 #569976
split-complementary
#565899 #997656 #7A9956
monochromatic
#2A2B4B #404172 #565899 #797AB4 #A0A1CA

Accessibility & contrast

On white

6.46
#565899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#565899 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #565899
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565899#FFFFFF#000000##FFFFFF
##5658991.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40619B
Deuteranopia (green-blind)
#3C5C98
Tritanopia (blue-blind)
#416571
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #565899;
/* rgb */ color: rgb(86, 88, 153);
/* oklch */ color: oklch(48.9% 0.103 280.5);
Tailwind
colors: {
  custom: {
    50: '#8987b7',
    500: '#565899',
    950: '#000000',
  },
}
SCSS
$custom: #565899;
$custom-light: #8987b7;
$custom-dark: #000000;
JSON
{
  "hex": "#565899",
  "rgb": {
    "r": 86,
    "g": 88,
    "b": 153
  },
  "hsl": {
    "h": 238.209,
    "s": 28.033,
    "l": 46.863
  },
  "oklch": {
    "l": 0.48926,
    "c": 0.10297,
    "h": 280.5
  },
  "luminance": 0.11258
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #565899

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

Preview Lab → · Contrast checker → · Palette generator →

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