#566CD2#566CD2

#566CD2 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.6% C 0.158 H 271.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#566CD2
RGBrgb(86, 108, 210)
HSLhsl(229, 58%, 58%)
HSVhsv(229, 59%, 82%)
CMYKcmyk(59%, 48.6%, 0%, 17.6%)
CIE-LABlab(48.70, 22.55, -55.28)
CIE-LCHlch(48.70, 59.71, 292.19°)
OKLaboklab(56.62% 0.0038 -0.158)
OKLCHoklch(56.62% 0.158 271.4)
XYZxyz(20.8293, 17.3551, 63.2125)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566CD2 #D2BC56
analogous
#56AAD2 #566CD2 #7E56D2
triadic
#566CD2 #D2566C #6CD256
tetradic
#566CD2 #D256AA #D2BC56 #56D27E
square
#566CD2 #D256AA #D2BC56 #56D27E
split-complementary
#566CD2 #D27E56 #AAD256
monochromatic
#253689 #314AB9 #566CD2 #8696DF #B7C0EC

Accessibility & contrast

On white

4.70
#566CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#566CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #566CD2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##566CD2#FFFFFF#000000##FFFFFF
##566CD21.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3879D6
Deuteranopia (green-blind)
#226FD0
Tritanopia (blue-blind)
#008395
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #566cd2;
/* rgb */ color: rgb(86, 108, 210);
/* oklch */ color: oklch(56.6% 0.158 271.4);
Tailwind
colors: {
  custom: {
    50: '#9095e0',
    500: '#566cd2',
    950: '#000000',
  },
}
SCSS
$custom: #566cd2;
$custom-light: #9095e0;
$custom-dark: #000000;
JSON
{
  "hex": "#566cd2",
  "rgb": {
    "r": 86,
    "g": 108,
    "b": 210
  },
  "hsl": {
    "h": 229.355,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56622,
    "c": 0.15807,
    "h": 271.4
  },
  "luminance": 0.17357
}

Semantic roles & 50–950 ramp

primary
#566CD2
secondary
#DBD2A9
accent
#C647E1
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #566CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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