#565174#565174

#565174 is a mid, muted blue. Relative luminance 0.091; OKLCH L 45.4% C 0.057 H 290.5°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#565174
RGBrgb(86, 81, 116)
HSLhsl(249, 18%, 39%)
HSVhsv(249, 30%, 45%)
CMYKcmyk(25.9%, 30.2%, 0%, 54.5%)
CIE-LABlab(36.22, 10.41, -19.23)
CIE-LCHlch(36.22, 21.87, 298.42°)
OKLaboklab(45.42% 0.0199 -0.0531)
OKLCHoklch(45.42% 0.057 290.5)
XYZxyz(9.9318, 9.1241, 17.7575)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565174 #6F7451
analogous
#515D74 #565174 #675174
triadic
#565174 #745651 #517456
tetradic
#565174 #74515D #6F7451 #517467
square
#565174 #74515D #6F7451 #517467
split-complementary
#565174 #746751 #5D7451
monochromatic
#211F2C #3B3850 #565174 #716B97 #948FB1

Accessibility & contrast

On white

7.43
#565174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#565174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565174
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565174#FFFFFF#000000##FFFFFF
##5651741.007.432.827.43
#FFFFFF7.431.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485675
Deuteranopia (green-blind)
#485473
Tritanopia (blue-blind)
#50575D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #565174;
/* rgb */ color: rgb(86, 81, 116);
/* oklch */ color: oklch(45.4% 0.057 290.5);
Tailwind
colors: {
  custom: {
    50: '#86819c',
    500: '#565174',
    950: '#000000',
  },
}
SCSS
$custom: #565174;
$custom-light: #86819c;
$custom-dark: #000000;
JSON
{
  "hex": "#565174",
  "rgb": {
    "r": 86,
    "g": 81,
    "b": 116
  },
  "hsl": {
    "h": 248.571,
    "s": 17.766,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45417,
    "c": 0.05671,
    "h": 290.5
  },
  "luminance": 0.09124
}

Semantic roles & 50–950 ramp

primary
#565174
secondary
#9A9E83
accent
#BA6DAF
background
#F8F7F9
surface
#EFEEF2
border
#CAC9CC
text
#0B0A0E
muted
#7C7C7E

Preview Lab

Preview with #565174

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

Preview Lab → · Contrast checker → · Palette generator →

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