#566CEC#566CEC

#566CEC is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.4% C 0.193 H 271.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#566CEC
RGBrgb(86, 108, 236)
HSLhsl(231, 80%, 63%)
HSVhsv(231, 64%, 93%)
CMYKcmyk(63.6%, 54.2%, 0%, 7.5%)
CIE-LABlab(50.40, 31.28, -67.24)
CIE-LCHlch(50.40, 74.16, 294.95°)
OKLaboklab(58.44% 0.0059 -0.1932)
OKLCHoklch(58.44% 0.193 271.7)
XYZxyz(24.3356, 18.7576, 81.6787)
Luminance0.1876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566CEC #ECD656
analogous
#56B7EC #566CEC #8B56EC
triadic
#566CEC #EC566C #6CEC56
tetradic
#566CEC #EC56B7 #ECD656 #56EC8B
square
#566CEC #EC56B7 #ECD656 #56EC8B
split-complementary
#566CEC #EC8B56 #B7EC56
monochromatic
#142CB3 #1F3CE6 #566CEC #8D9CF2 #C4CCF8

Accessibility & contrast

On white

4.42
#566CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#566CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #566CEC
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##566CEC#FFFFFF#000000##000000
##566CEC1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#017FF0
Deuteranopia (green-blind)
#0071E9
Tritanopia (blue-blind)
#008AA2
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #566cec;
/* rgb */ color: rgb(86, 108, 236);
/* oklch */ color: oklch(58.4% 0.193 271.7);
Tailwind
colors: {
  custom: {
    50: '#9495f3',
    500: '#566cec',
    950: '#000000',
  },
}
SCSS
$custom: #566cec;
$custom-light: #9495f3;
$custom-dark: #000000;
JSON
{
  "hex": "#566cec",
  "rgb": {
    "r": 86,
    "g": 108,
    "b": 236
  },
  "hsl": {
    "h": 231.2,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.58444,
    "c": 0.19328,
    "h": 271.7
  },
  "luminance": 0.1876
}

Semantic roles & 50–950 ramp

primary
#566CEC
secondary
#EAE2B4
accent
#BD09DC
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #566CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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