#565181#565181

#565181 is a mid, moderate blue. Relative luminance 0.094; OKLCH L 46.1% C 0.077 H 287.7°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#565181
RGBrgb(86, 81, 129)
HSLhsl(246, 23%, 41%)
HSVhsv(246, 37%, 51%)
CMYKcmyk(33.3%, 37.2%, 0%, 49.4%)
CIE-LABlab(36.83, 14.01, -26.31)
CIE-LCHlch(36.83, 29.81, 298.04°)
OKLaboklab(46.09% 0.0235 -0.0734)
OKLCHoklch(46.09% 0.077 287.7)
XYZxyz(10.7416, 9.4480, 22.0223)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565181 #7C8151
analogous
#516481 #565181 #6E5181
triadic
#565181 #815651 #518156
tetradic
#565181 #815164 #7C8151 #51816E
square
#565181 #815164 #7C8151 #51816E
split-complementary
#565181 #816E51 #648151
monochromatic
#242236 #3D395B #565181 #726CA3 #9692BA

Accessibility & contrast

On white

7.27
#565181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#565181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565181
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565181#FFFFFF#000000##FFFFFF
##5651811.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435883
Deuteranopia (green-blind)
#425580
Tritanopia (blue-blind)
#4B5A63
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #565181;
/* rgb */ color: rgb(86, 81, 129);
/* oklch */ color: oklch(46.1% 0.077 287.7);
Tailwind
colors: {
  custom: {
    50: '#8781a6',
    500: '#565181',
    950: '#000000',
  },
}
SCSS
$custom: #565181;
$custom-light: #8781a6;
$custom-dark: #000000;
JSON
{
  "hex": "#565181",
  "rgb": {
    "r": 86,
    "g": 81,
    "b": 129
  },
  "hsl": {
    "h": 246.25,
    "s": 22.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46087,
    "c": 0.07712,
    "h": 287.7
  },
  "luminance": 0.09448
}

Semantic roles & 50–950 ramp

primary
#565181
secondary
#A4A886
accent
#BF68B6
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0B0A0F
muted
#7C7C7F

Preview Lab

Preview with #565181

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

Preview Lab → · Contrast checker → · Palette generator →

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