#565DB2#565DB2

#565DB2 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.5% C 0.133 H 277.1°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#565DB2
RGBrgb(86, 93, 178)
HSLhsl(235, 37%, 52%)
HSVhsv(235, 52%, 70%)
CMYKcmyk(51.7%, 47.8%, 0%, 30.2%)
CIE-LABlab(42.79, 21.41, -46.26)
CIE-LCHlch(42.79, 50.98, 294.84°)
OKLaboklab(51.51% 0.0165 -0.1316)
OKLCHoklch(51.51% 0.133 277.1)
XYZxyz(15.7855, 13.0205, 43.7923)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565DB2 #B2AB56
analogous
#568BB2 #565DB2 #7D56B2
triadic
#565DB2 #B2565D #5DB256
tetradic
#565DB2 #B2568B #B2AB56 #56B27D
square
#565DB2 #B2568B #B2AB56 #56B27D
split-complementary
#565DB2 #B27D56 #8BB256
monochromatic
#2C3061 #3F458B #565DB2 #8085C5 #AAAED8

Accessibility & contrast

On white

5.83
#565DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#565DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #565DB2
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565DB2#FFFFFF#000000##FFFFFF
##565DB21.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3769B5
Deuteranopia (green-blind)
#2E61B0
Tritanopia (blue-blind)
#2F6F7F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #565db2;
/* rgb */ color: rgb(86, 93, 178);
/* oklch */ color: oklch(51.5% 0.133 277.1);
Tailwind
colors: {
  custom: {
    50: '#8c8ac9',
    500: '#565db2',
    950: '#000000',
  },
}
SCSS
$custom: #565db2;
$custom-light: #8c8ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#565db2",
  "rgb": {
    "r": 86,
    "g": 93,
    "b": 178
  },
  "hsl": {
    "h": 235.435,
    "s": 37.398,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51509,
    "c": 0.13267,
    "h": 277.1
  },
  "luminance": 0.13021
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #565DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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