#566CD5#566CD5

#566CD5 is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.8% C 0.162 H 271.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#566CD5
RGBrgb(86, 108, 213)
HSLhsl(230, 60%, 59%)
HSVhsv(230, 60%, 84%)
CMYKcmyk(59.6%, 49.3%, 0%, 16.5%)
CIE-LABlab(48.89, 23.56, -56.69)
CIE-LCHlch(48.89, 61.39, 292.56°)
OKLaboklab(56.82% 0.0041 -0.1622)
OKLCHoklch(56.82% 0.162 271.5)
XYZxyz(21.2066, 17.5060, 65.1993)
Luminance0.1751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566CD5 #D5BF56
analogous
#56ABD5 #566CD5 #7F56D5
triadic
#566CD5 #D5566C #6CD556
tetradic
#566CD5 #D556AB #D5BF56 #56D57F
square
#566CD5 #D556AB #D5BF56 #56D57F
split-complementary
#566CD5 #D57F56 #ABD556
monochromatic
#23368D #2F48BE #566CD5 #8797E1 #B8C1ED

Accessibility & contrast

On white

4.67
#566CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#566CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #566CD5
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##566CD5#FFFFFF#000000##FFFFFF
##566CD51.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#357AD9
Deuteranopia (green-blind)
#1C6FD3
Tritanopia (blue-blind)
#008496
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #566cd5;
/* rgb */ color: rgb(86, 108, 213);
/* oklch */ color: oklch(56.8% 0.162 271.5);
Tailwind
colors: {
  custom: {
    50: '#9095e2',
    500: '#566cd5',
    950: '#000000',
  },
}
SCSS
$custom: #566cd5;
$custom-light: #9095e2;
$custom-dark: #000000;
JSON
{
  "hex": "#566cd5",
  "rgb": {
    "r": 86,
    "g": 108,
    "b": 213
  },
  "hsl": {
    "h": 229.606,
    "s": 60.19,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56824,
    "c": 0.16221,
    "h": 271.5
  },
  "luminance": 0.17508
}

Semantic roles & 50–950 ramp

primary
#566CD5
secondary
#DDD4AA
accent
#C844E3
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #566CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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