#565C98#565C98

#565C98 is a mid, moderate blue. Relative luminance 0.119; OKLCH L 49.7% C 0.096 H 278.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#565C98
RGBrgb(86, 92, 152)
HSLhsl(235, 28%, 47%)
HSVhsv(235, 43%, 60%)
CMYKcmyk(43.4%, 39.5%, 0%, 40.4%)
CIE-LABlab(41.06, 13.85, -33.62)
CIE-LCHlch(41.06, 36.36, 292.40°)
OKLaboklab(49.71% 0.0133 -0.0946)
OKLCHoklch(49.71% 0.096 278)
XYZxyz(13.3307, 11.8991, 31.2940)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565C98 #989256
analogous
#567D98 #565C98 #715698
triadic
#565C98 #98565C #5C9856
tetradic
#565C98 #98567D #989256 #569871
square
#565C98 #98567D #989256 #569871
split-complementary
#565C98 #987156 #7D9856
monochromatic
#2A2D4A #404471 #565C98 #787EB3 #9FA3C9

Accessibility & contrast

On white

6.21
#565C98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#565C98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #565C98
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565C98#FFFFFF#000000##FFFFFF
##565C981.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47639A
Deuteranopia (green-blind)
#425E97
Tritanopia (blue-blind)
#416873
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #565c98;
/* rgb */ color: rgb(86, 92, 152);
/* oklch */ color: oklch(49.7% 0.096 278.0);
Tailwind
colors: {
  custom: {
    50: '#898ab6',
    500: '#565c98',
    950: '#000000',
  },
}
SCSS
$custom: #565c98;
$custom-light: #898ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#565c98",
  "rgb": {
    "r": 86,
    "g": 92,
    "b": 152
  },
  "hsl": {
    "h": 234.545,
    "s": 27.731,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49707,
    "c": 0.09558,
    "h": 278
  },
  "luminance": 0.119
}

Semantic roles & 50–950 ramp

primary
#565C98
secondary
#B6B393
accent
#BB64C4
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0C0B11
muted
#7D7C80

Preview Lab

Preview with #565C98

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

Preview Lab → · Contrast checker → · Palette generator →

#565C98 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva