#565CD4#565CD4

#565CD4 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.7% C 0.181 H 276.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#565CD4
RGBrgb(86, 92, 212)
HSLhsl(237, 59%, 58%)
HSVhsv(237, 59%, 83%)
CMYKcmyk(59.4%, 56.6%, 0%, 16.9%)
CIE-LABlab(44.78, 33.14, -62.76)
CIE-LCHlch(44.78, 70.97, 297.84°)
OKLaboklab(53.72% 0.0198 -0.1802)
OKLCHoklch(53.72% 0.181 276.3)
XYZxyz(19.5447, 14.3847, 64.0212)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565CD4 #D4CE56
analogous
#569BD4 #565CD4 #8F56D4
triadic
#565CD4 #D4565C #5CD456
tetradic
#565CD4 #D4569B #D4CE56 #56D48F
square
#565CD4 #D4569B #D4CE56 #56D48F
split-complementary
#565CD4 #D48F56 #9BD456
monochromatic
#24298C #3037BD #565CD4 #878BE0 #B8BAED

Accessibility & contrast

On white

5.42
#565CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#565CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #565CD4
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565CD4#FFFFFF#000000##FFFFFF
##565CD41.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD8
Deuteranopia (green-blind)
#0065D2
Tritanopia (blue-blind)
#00788F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #565cd4;
/* rgb */ color: rgb(86, 92, 212);
/* oklch */ color: oklch(53.7% 0.181 276.3);
Tailwind
colors: {
  custom: {
    50: '#918ae2',
    500: '#565cd4',
    950: '#000000',
  },
}
SCSS
$custom: #565cd4;
$custom-light: #918ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#565cd4",
  "rgb": {
    "r": 86,
    "g": 92,
    "b": 212
  },
  "hsl": {
    "h": 237.143,
    "s": 59.434,
    "l": 58.431
  },
  "oklch": {
    "l": 0.53715,
    "c": 0.18126,
    "h": 276.3
  },
  "luminance": 0.14386
}

Semantic roles & 50–950 ramp

primary
#565CD4
secondary
#DCDAAA
accent
#DB45E3
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #565CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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