#565178#565178

#565178 is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.6% C 0.063 H 289.5°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#565178
RGBrgb(86, 81, 120)
HSLhsl(248, 19%, 39%)
HSVhsv(248, 33%, 47%)
CMYKcmyk(28.3%, 32.5%, 0%, 52.9%)
CIE-LABlab(36.40, 11.49, -21.43)
CIE-LCHlch(36.40, 24.32, 298.21°)
OKLaboklab(45.62% 0.0211 -0.0594)
OKLCHoklch(45.62% 0.063 289.5)
XYZxyz(10.1695, 9.2192, 19.0093)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565178 #737851
analogous
#516078 #565178 #6A5178
triadic
#565178 #785651 #517856
tetradic
#565178 #785160 #737851 #51786A
square
#565178 #785160 #737851 #51786A
split-complementary
#565178 #786A51 #607851
monochromatic
#22202F #3C3853 #565178 #716B9B #9490B4

Accessibility & contrast

On white

7.38
#565178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#565178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565178
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565178#FFFFFF#000000##FFFFFF
##5651781.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47567A
Deuteranopia (green-blind)
#475577
Tritanopia (blue-blind)
#4E585F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #565178;
/* rgb */ color: rgb(86, 81, 120);
/* oklch */ color: oklch(45.6% 0.063 289.5);
Tailwind
colors: {
  custom: {
    50: '#86819f',
    500: '#565178',
    950: '#000000',
  },
}
SCSS
$custom: #565178;
$custom-light: #86819f;
$custom-dark: #000000;
JSON
{
  "hex": "#565178",
  "rgb": {
    "r": 86,
    "g": 81,
    "b": 120
  },
  "hsl": {
    "h": 247.692,
    "s": 19.403,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45616,
    "c": 0.06304,
    "h": 289.5
  },
  "luminance": 0.09219
}

Semantic roles & 50–950 ramp

primary
#565178
secondary
#9DA184
accent
#BC6CB2
background
#F8F7F9
surface
#EFEEF2
border
#CAC9CC
text
#0B0A0E
muted
#7C7C7E

Preview Lab

Preview with #565178

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

Preview Lab → · Contrast checker → · Palette generator →

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