#566CD6#566CD6

#566CD6 is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.9% C 0.164 H 271.5°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#566CD6
RGBrgb(86, 108, 214)
HSLhsl(230, 61%, 59%)
HSVhsv(230, 60%, 84%)
CMYKcmyk(59.8%, 49.5%, 0%, 16.1%)
CIE-LABlab(48.95, 23.89, -57.16)
CIE-LCHlch(48.95, 61.95, 292.68°)
OKLaboklab(56.89% 0.0042 -0.1635)
OKLCHoklch(56.89% 0.164 271.5)
XYZxyz(21.3339, 17.5569, 65.8699)
Luminance0.1756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566CD6 #D6C056
analogous
#56ACD6 #566CD6 #8056D6
triadic
#566CD6 #D6566C #6CD656
tetradic
#566CD6 #D656AC #D6C056 #56D680
square
#566CD6 #D656AC #D6C056 #56D680
split-complementary
#566CD6 #D68056 #ACD656
monochromatic
#23358F #2F48C0 #566CD6 #8797E2 #B9C2EE

Accessibility & contrast

On white

4.65
#566CD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#566CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #566CD6
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##566CD6#FFFFFF#000000##FFFFFF
##566CD61.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#347ADA
Deuteranopia (green-blind)
#196FD4
Tritanopia (blue-blind)
#008497
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #566cd6;
/* rgb */ color: rgb(86, 108, 214);
/* oklch */ color: oklch(56.9% 0.164 271.5);
Tailwind
colors: {
  custom: {
    50: '#9195e3',
    500: '#566cd6',
    950: '#000000',
  },
}
SCSS
$custom: #566cd6;
$custom-light: #9195e3;
$custom-dark: #000000;
JSON
{
  "hex": "#566cd6",
  "rgb": {
    "r": 86,
    "g": 108,
    "b": 214
  },
  "hsl": {
    "h": 229.688,
    "s": 60.952,
    "l": 58.824
  },
  "oklch": {
    "l": 0.56891,
    "c": 0.16359,
    "h": 271.5
  },
  "luminance": 0.17559
}

Semantic roles & 50–950 ramp

primary
#566CD6
secondary
#DDD4AB
accent
#C944E4
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0E0D15
muted
#7E7E84

Preview Lab

Preview with #566CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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