#565CD5#565CD5

#565CD5 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.8% C 0.183 H 276.2°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#565CD5
RGBrgb(86, 92, 213)
HSLhsl(237, 60%, 59%)
HSVhsv(237, 60%, 84%)
CMYKcmyk(59.6%, 56.8%, 0%, 16.5%)
CIE-LABlab(44.85, 33.47, -63.22)
CIE-LCHlch(44.85, 71.53, 297.90°)
OKLaboklab(53.79% 0.0198 -0.1815)
OKLCHoklch(53.79% 0.183 276.2)
XYZxyz(19.6712, 14.4353, 64.6876)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565CD5 #D5CF56
analogous
#569BD5 #565CD5 #8F56D5
triadic
#565CD5 #D5565C #5CD556
tetradic
#565CD5 #D5569B #D5CF56 #56D58F
square
#565CD5 #D5569B #D5CF56 #56D58F
split-complementary
#565CD5 #D58F56 #9BD556
monochromatic
#23288D #2F36BE #565CD5 #878BE1 #B8BBED

Accessibility & contrast

On white

5.40
#565CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#565CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #565CD5
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565CD5#FFFFFF#000000##FFFFFF
##565CD51.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D9
Deuteranopia (green-blind)
#0065D3
Tritanopia (blue-blind)
#00798F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #565cd5;
/* rgb */ color: rgb(86, 92, 213);
/* oklch */ color: oklch(53.8% 0.183 276.2);
Tailwind
colors: {
  custom: {
    50: '#918ae3',
    500: '#565cd5',
    950: '#000000',
  },
}
SCSS
$custom: #565cd5;
$custom-light: #918ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#565cd5",
  "rgb": {
    "r": 86,
    "g": 92,
    "b": 213
  },
  "hsl": {
    "h": 237.165,
    "s": 60.19,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5379,
    "c": 0.18261,
    "h": 276.2
  },
  "luminance": 0.14437
}

Semantic roles & 50–950 ramp

primary
#565CD5
secondary
#DDDAAA
accent
#DC44E3
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B15
muted
#7E7C84

Preview Lab

Preview with #565CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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