#565AB1#565AB1

#565AB1 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.8% C 0.135 H 278.4°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#565AB1
RGBrgb(86, 90, 177)
HSLhsl(237, 37%, 52%)
HSVhsv(237, 51%, 69%)
CMYKcmyk(51.4%, 49.2%, 0%, 30.6%)
CIE-LABlab(41.94, 22.98, -47.03)
CIE-LCHlch(41.94, 52.35, 296.04°)
OKLaboklab(50.85% 0.0199 -0.134)
OKLCHoklch(50.85% 0.135 278.4)
XYZxyz(15.4273, 12.4642, 43.1794)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565AB1 #B1AD56
analogous
#5688B1 #565AB1 #8056B1
triadic
#565AB1 #B1565A #5AB156
tetradic
#565AB1 #B15688 #B1AD56 #56B180
square
#565AB1 #B15688 #B1AD56 #56B180
split-complementary
#565AB1 #B18056 #88B156
monochromatic
#2C2F60 #40438A #565AB1 #8083C4 #AAACD8

Accessibility & contrast

On white

6.01
#565AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#565AB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #565AB1
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565AB1#FFFFFF#000000##FFFFFF
##565AB11.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3267B4
Deuteranopia (green-blind)
#295FAF
Tritanopia (blue-blind)
#316D7D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #565ab1;
/* rgb */ color: rgb(86, 90, 177);
/* oklch */ color: oklch(50.8% 0.135 278.4);
Tailwind
colors: {
  custom: {
    50: '#8c88c9',
    500: '#565ab1',
    950: '#000000',
  },
}
SCSS
$custom: #565ab1;
$custom-light: #8c88c9;
$custom-dark: #000000;
JSON
{
  "hex": "#565ab1",
  "rgb": {
    "r": 86,
    "g": 90,
    "b": 177
  },
  "hsl": {
    "h": 237.363,
    "s": 36.842,
    "l": 51.569
  },
  "oklch": {
    "l": 0.50847,
    "c": 0.13542,
    "h": 278.4
  },
  "luminance": 0.12465
}

Semantic roles & 50–950 ramp

primary
#565AB1
secondary
#C5C49D
accent
#C85BCD
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0D0B13
muted
#7D7C82

Preview Lab

Preview with #565AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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