#565281#565281

#565281 is a mid, moderate blue. Relative luminance 0.096; OKLCH L 46.3% C 0.075 H 287.0°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#565281
RGBrgb(86, 82, 129)
HSLhsl(245, 22%, 41%)
HSVhsv(245, 36%, 51%)
CMYKcmyk(33.3%, 36.4%, 0%, 49.4%)
CIE-LABlab(37.11, 13.37, -25.87)
CIE-LCHlch(37.11, 29.13, 297.33°)
OKLaboklab(46.3% 0.022 -0.0722)
OKLCHoklch(46.3% 0.075 287)
XYZxyz(10.8164, 9.5977, 22.0473)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565281 #7D8152
analogous
#526681 #565281 #6E5281
triadic
#565281 #815652 #528156
tetradic
#565281 #815266 #7D8152 #52816E
square
#565281 #815266 #7D8152 #52816E
split-complementary
#565281 #816E52 #668152
monochromatic
#242236 #3D3A5C #565281 #726EA3 #9693BA

Accessibility & contrast

On white

7.19
#565281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #565281
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565281#FFFFFF#000000##FFFFFF
##5652811.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445983
Deuteranopia (green-blind)
#435680
Tritanopia (blue-blind)
#4B5B63
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #565281;
/* rgb */ color: rgb(86, 82, 129);
/* oklch */ color: oklch(46.3% 0.075 287.0);
Tailwind
colors: {
  custom: {
    50: '#8782a6',
    500: '#565281',
    950: '#000000',
  },
}
SCSS
$custom: #565281;
$custom-light: #8782a6;
$custom-dark: #000000;
JSON
{
  "hex": "#565281",
  "rgb": {
    "r": 86,
    "g": 82,
    "b": 129
  },
  "hsl": {
    "h": 245.106,
    "s": 22.275,
    "l": 41.373
  },
  "oklch": {
    "l": 0.463,
    "c": 0.07548,
    "h": 287
  },
  "luminance": 0.09598
}

Semantic roles & 50–950 ramp

primary
#565281
secondary
#A5A887
accent
#BF69B7
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A0F
muted
#7C7C7F

Preview Lab

Preview with #565281

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

Preview Lab → · Contrast checker → · Palette generator →

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