#566CCC#566CCC

#566CCC is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.2% C 0.150 H 271.2°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#566CCC
RGBrgb(86, 108, 204)
HSLhsl(229, 54%, 57%)
HSVhsv(229, 58%, 80%)
CMYKcmyk(57.8%, 47.1%, 0%, 20%)
CIE-LABlab(48.34, 20.55, -52.45)
CIE-LCHlch(48.34, 56.33, 291.40°)
OKLaboklab(56.23% 0.0031 -0.1497)
OKLCHoklch(56.23% 0.15 271.2)
XYZxyz(20.0958, 17.0616, 59.3493)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566CCC #CCB656
analogous
#56A7CC #566CCC #7B56CC
triadic
#566CCC #CC566C #6CCC56
tetradic
#566CCC #CC56A7 #CCB656 #56CC7B
square
#566CCC #CC56A7 #CCB656 #56CC7B
split-complementary
#566CCC #CC7B56 #A7CC56
monochromatic
#273881 #354CB0 #566CCC #8595DA #B4BEE8

Accessibility & contrast

On white

4.76
#566CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#566CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #566CCC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##566CCC#FFFFFF#000000##FFFFFF
##566CCC1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E78D0
Deuteranopia (green-blind)
#2C6ECA
Tritanopia (blue-blind)
#008292
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #566ccc;
/* rgb */ color: rgb(86, 108, 204);
/* oklch */ color: oklch(56.2% 0.150 271.2);
Tailwind
colors: {
  custom: {
    50: '#8f95dc',
    500: '#566ccc',
    950: '#000000',
  },
}
SCSS
$custom: #566ccc;
$custom-light: #8f95dc;
$custom-dark: #000000;
JSON
{
  "hex": "#566ccc",
  "rgb": {
    "r": 86,
    "g": 108,
    "b": 204
  },
  "hsl": {
    "h": 228.814,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56225,
    "c": 0.14971,
    "h": 271.2
  },
  "luminance": 0.17063
}

Semantic roles & 50–950 ramp

primary
#566CCC
secondary
#D7CEA7
accent
#C24BDD
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #566CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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