#565282#565282

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

Color values

HEX#565282
RGBrgb(86, 82, 130)
HSLhsl(245, 23%, 42%)
HSVhsv(245, 37%, 51%)
CMYKcmyk(33.8%, 36.9%, 0%, 49%)
CIE-LABlab(37.16, 13.66, -26.41)
CIE-LCHlch(37.16, 29.73, 297.35°)
OKLaboklab(46.35% 0.0223 -0.0737)
OKLCHoklch(46.35% 0.077 286.8)
XYZxyz(10.8832, 9.6244, 22.3991)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565282 #7E8252
analogous
#526682 #565282 #6E5282
triadic
#565282 #825652 #528256
tetradic
#565282 #825266 #7E8252 #52826E
square
#565282 #825266 #7E8252 #52826E
split-complementary
#565282 #826E52 #668252
monochromatic
#242337 #3D3A5C #565282 #726EA3 #9793BB

Accessibility & contrast

On white

7.18
#565282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#565282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565282
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565282#FFFFFF#000000##FFFFFF
##5652821.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445984
Deuteranopia (green-blind)
#435681
Tritanopia (blue-blind)
#4B5B64
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #565282;
/* rgb */ color: rgb(86, 82, 130);
/* oklch */ color: oklch(46.4% 0.077 286.8);
Tailwind
colors: {
  custom: {
    50: '#8782a6',
    500: '#565282',
    950: '#000000',
  },
}
SCSS
$custom: #565282;
$custom-light: #8782a6;
$custom-dark: #000000;
JSON
{
  "hex": "#565282",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 130
  },
  "hsl": {
    "h": 245,
    "s": 22.642,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46354,
    "c": 0.07704,
    "h": 286.8
  },
  "luminance": 0.09625
}

Semantic roles & 50–950 ramp

primary
#565282
secondary
#A6A888
accent
#BF69B8
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0B0A0F
muted
#7C7C7F

Preview Lab

Preview with #565282

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

Preview Lab → · Contrast checker → · Palette generator →

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