#566DD2#566DD2

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

Color values

HEX#566DD2
RGBrgb(86, 109, 210)
HSLhsl(229, 58%, 58%)
HSVhsv(229, 59%, 82%)
CMYKcmyk(59%, 48.1%, 0%, 17.6%)
CIE-LABlab(48.97, 21.93, -54.86)
CIE-LCHlch(48.97, 59.08, 291.79°)
OKLaboklab(56.82% 0.0028 -0.1568)
OKLCHoklch(56.82% 0.157 271)
XYZxyz(20.9354, 17.5672, 63.2478)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566DD2 #D2BB56
analogous
#56ABD2 #566DD2 #7D56D2
triadic
#566DD2 #D2566D #6DD256
tetradic
#566DD2 #D256AB #D2BB56 #56D27D
square
#566DD2 #D256AB #D2BB56 #56D27D
split-complementary
#566DD2 #D27D56 #ABD256
monochromatic
#253789 #314BB9 #566DD2 #8697DF #B7C1EC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##566DD2#FFFFFF#000000##FFFFFF
##566DD21.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)
#3B7AD6
Deuteranopia (green-blind)
#256FD0
Tritanopia (blue-blind)
#008495
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #566dd2;
/* rgb */ color: rgb(86, 109, 210);
/* oklch */ color: oklch(56.8% 0.157 271.0);
Tailwind
colors: {
  custom: {
    50: '#9096e0',
    500: '#566dd2',
    950: '#000000',
  },
}
SCSS
$custom: #566dd2;
$custom-light: #9096e0;
$custom-dark: #000000;
JSON
{
  "hex": "#566dd2",
  "rgb": {
    "r": 86,
    "g": 109,
    "b": 210
  },
  "hsl": {
    "h": 228.871,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56821,
    "c": 0.15679,
    "h": 271
  },
  "luminance": 0.17569
}

Semantic roles & 50–950 ramp

primary
#566DD2
secondary
#DBD1A9
accent
#C547E1
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #566DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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