#565894#565894

#565894 is a mid, moderate blue. Relative luminance 0.111; OKLCH L 48.6% C 0.095 H 280.8°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#565894
RGBrgb(86, 88, 148)
HSLhsl(238, 26%, 46%)
HSVhsv(238, 42%, 58%)
CMYKcmyk(41.9%, 40.5%, 0%, 42%)
CIE-LABlab(39.74, 15.16, -33.29)
CIE-LCHlch(39.74, 36.58, 294.49°)
OKLaboklab(48.63% 0.0178 -0.0937)
OKLCHoklch(48.63% 0.095 280.8)
XYZxyz(12.6712, 11.0955, 29.4852)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565894 #949256
analogous
#567794 #565894 #735694
triadic
#565894 #945658 #589456
tetradic
#565894 #945677 #949256 #569473
square
#565894 #945677 #949256 #569473
split-complementary
#565894 #947356 #779456
monochromatic
#292A47 #40416D #565894 #7779B0 #9E9FC7

Accessibility & contrast

On white

6.52
#565894 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#565894 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #565894
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565894#FFFFFF#000000##FFFFFF
##5658941.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436096
Deuteranopia (green-blind)
#405B93
Tritanopia (blue-blind)
#43646F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #565894;
/* rgb */ color: rgb(86, 88, 148);
/* oklch */ color: oklch(48.6% 0.095 280.8);
Tailwind
colors: {
  custom: {
    50: '#8887b4',
    500: '#565894',
    950: '#000000',
  },
}
SCSS
$custom: #565894;
$custom-light: #8887b4;
$custom-dark: #000000;
JSON
{
  "hex": "#565894",
  "rgb": {
    "r": 86,
    "g": 88,
    "b": 148
  },
  "hsl": {
    "h": 238.065,
    "s": 26.496,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48632,
    "c": 0.09539,
    "h": 280.8
  },
  "luminance": 0.11096
}

Semantic roles & 50–950 ramp

primary
#565894
secondary
#B4B392
accent
#C065C3
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0C0B11
muted
#7D7C80

Preview Lab

Preview with #565894

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

Preview Lab → · Contrast checker → · Palette generator →

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