#565186#565186

#565186 is a mid, moderate blue. Relative luminance 0.096; OKLCH L 46.4% C 0.085 H 286.9°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#565186
RGBrgb(86, 81, 134)
HSLhsl(246, 25%, 42%)
HSVhsv(246, 40%, 53%)
CMYKcmyk(35.8%, 39.6%, 0%, 47.5%)
CIE-LABlab(37.09, 15.45, -28.98)
CIE-LCHlch(37.09, 32.84, 298.07°)
OKLaboklab(46.36% 0.0247 -0.0812)
OKLCHoklch(46.36% 0.085 286.9)
XYZxyz(11.0821, 9.5842, 23.8157)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565186 #818651
analogous
#516786 #565186 #705186
triadic
#565186 #865651 #518656
tetradic
#565186 #865167 #818651 #518670
square
#565186 #865167 #818651 #518670
split-complementary
#565186 #867051 #678651
monochromatic
#25233A #3E3A60 #565186 #736DA7 #9793BE

Accessibility & contrast

On white

7.20
#565186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#565186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565186
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565186#FFFFFF#000000##FFFFFF
##5651861.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405988
Deuteranopia (green-blind)
#405685
Tritanopia (blue-blind)
#4A5B65
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #565186;
/* rgb */ color: rgb(86, 81, 134);
/* oklch */ color: oklch(46.4% 0.085 286.9);
Tailwind
colors: {
  custom: {
    50: '#8781a9',
    500: '#565186',
    950: '#000000',
  },
}
SCSS
$custom: #565186;
$custom-light: #8781a9;
$custom-dark: #000000;
JSON
{
  "hex": "#565186",
  "rgb": {
    "r": 86,
    "g": 81,
    "b": 134
  },
  "hsl": {
    "h": 245.66,
    "s": 24.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46363,
    "c": 0.08485,
    "h": 286.9
  },
  "luminance": 0.09585
}

Semantic roles & 50–950 ramp

primary
#565186
secondary
#A8AB88
accent
#C167B9
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #565186

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

Preview Lab → · Contrast checker → · Palette generator →

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