#565CB2#565CB2

#565CB2 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.3% C 0.134 H 277.6°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#565CB2
RGBrgb(86, 92, 178)
HSLhsl(236, 37%, 52%)
HSVhsv(236, 52%, 70%)
CMYKcmyk(51.7%, 48.3%, 0%, 30.2%)
CIE-LABlab(42.53, 22.04, -46.68)
CIE-LCHlch(42.53, 51.63, 295.28°)
OKLaboklab(51.31% 0.0176 -0.1329)
OKLCHoklch(51.31% 0.134 277.6)
XYZxyz(15.6983, 12.8461, 43.7632)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565CB2 #B2AC56
analogous
#568AB2 #565CB2 #7E56B2
triadic
#565CB2 #B2565C #5CB256
tetradic
#565CB2 #B2568A #B2AC56 #56B27E
square
#565CB2 #B2568A #B2AC56 #56B27E
split-complementary
#565CB2 #B27E56 #8AB256
monochromatic
#2C3061 #3F448B #565CB2 #8085C5 #AAADD8

Accessibility & contrast

On white

5.88
#565CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#565CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #565CB2
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565CB2#FFFFFF#000000##FFFFFF
##565CB21.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3568B5
Deuteranopia (green-blind)
#2C61B0
Tritanopia (blue-blind)
#306F7E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #565cb2;
/* rgb */ color: rgb(86, 92, 178);
/* oklch */ color: oklch(51.3% 0.134 277.6);
Tailwind
colors: {
  custom: {
    50: '#8c8ac9',
    500: '#565cb2',
    950: '#000000',
  },
}
SCSS
$custom: #565cb2;
$custom-light: #8c8ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#565cb2",
  "rgb": {
    "r": 86,
    "g": 92,
    "b": 178
  },
  "hsl": {
    "h": 236.087,
    "s": 37.398,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5131,
    "c": 0.13406,
    "h": 277.6
  },
  "luminance": 0.12847
}

Semantic roles & 50–950 ramp

primary
#565CB2
secondary
#C6C39E
accent
#C65ACD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0D0B13
muted
#7D7C82

Preview Lab

Preview with #565CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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