#565798#565798

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

Color values

HEX#565798
RGBrgb(86, 87, 152)
HSLhsl(239, 28%, 47%)
HSVhsv(239, 43%, 60%)
CMYKcmyk(43.4%, 42.8%, 0%, 40.4%)
CIE-LABlab(39.68, 17.02, -35.78)
CIE-LCHlch(39.68, 39.62, 295.43°)
OKLaboklab(48.66% 0.02 -0.101)
OKLCHoklch(48.66% 0.103 281.2)
XYZxyz(12.9118, 11.0613, 31.1544)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565798 #989756
analogous
#567898 #565798 #765698
triadic
#565798 #985657 #579856
tetradic
#565798 #985678 #989756 #569876
square
#565798 #985678 #989756 #569876
split-complementary
#565798 #987656 #789856
monochromatic
#2A2A4A #404171 #565798 #7879B3 #9FA0C9

Accessibility & contrast

On white

6.54
#565798 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #565798
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565798#FFFFFF#000000##FFFFFF
##5657981.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F609A
Deuteranopia (green-blind)
#3C5B96
Tritanopia (blue-blind)
#416470
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #565798;
/* rgb */ color: rgb(86, 87, 152);
/* oklch */ color: oklch(48.7% 0.103 281.2);
Tailwind
colors: {
  custom: {
    50: '#8986b6',
    500: '#565798',
    950: '#000000',
  },
}
SCSS
$custom: #565798;
$custom-light: #8986b6;
$custom-dark: #000000;
JSON
{
  "hex": "#565798",
  "rgb": {
    "r": 86,
    "g": 87,
    "b": 152
  },
  "hsl": {
    "h": 239.091,
    "s": 27.731,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48659,
    "c": 0.10296,
    "h": 281.2
  },
  "luminance": 0.11062
}

Semantic roles & 50–950 ramp

primary
#565798
secondary
#B6B693
accent
#C364C4
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B11
muted
#7D7C80

Preview Lab

Preview with #565798

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

Preview Lab → · Contrast checker → · Palette generator →

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