#566CD7#566CD7

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

Color values

HEX#566CD7
RGBrgb(86, 108, 215)
HSLhsl(230, 62%, 59%)
HSVhsv(230, 60%, 84%)
CMYKcmyk(60%, 49.8%, 0%, 15.7%)
CIE-LABlab(49.02, 24.23, -57.63)
CIE-LCHlch(49.02, 62.51, 292.80°)
OKLaboklab(56.96% 0.0043 -0.1649)
OKLCHoklch(56.96% 0.165 271.5)
XYZxyz(21.4620, 17.6081, 66.5445)
Luminance0.1761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566CD7 #D7C156
analogous
#56ADD7 #566CD7 #8156D7
triadic
#566CD7 #D7566C #6CD756
tetradic
#566CD7 #D756AD #D7C156 #56D781
square
#566CD7 #D756AD #D7C156 #56D781
split-complementary
#566CD7 #D78156 #ADD756
monochromatic
#223590 #2E47C2 #566CD7 #8797E3 #B9C2EE

Accessibility & contrast

On white

4.64
#566CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#566CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #566CD7
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##566CD7#FFFFFF#000000##FFFFFF
##566CD71.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#337ADB
Deuteranopia (green-blind)
#176FD5
Tritanopia (blue-blind)
#008497
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #566cd7;
/* rgb */ color: rgb(86, 108, 215);
/* oklch */ color: oklch(57.0% 0.165 271.5);
Tailwind
colors: {
  custom: {
    50: '#9195e4',
    500: '#566cd7',
    950: '#000000',
  },
}
SCSS
$custom: #566cd7;
$custom-light: #9195e4;
$custom-dark: #000000;
JSON
{
  "hex": "#566cd7",
  "rgb": {
    "r": 86,
    "g": 108,
    "b": 215
  },
  "hsl": {
    "h": 229.767,
    "s": 61.722,
    "l": 59.02
  },
  "oklch": {
    "l": 0.56959,
    "c": 0.16497,
    "h": 271.5
  },
  "luminance": 0.1761
}

Semantic roles & 50–950 ramp

primary
#566CD7
secondary
#DED5AB
accent
#C943E5
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #566CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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