#566DEC#566DEC

#566DEC is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.6% C 0.192 H 271.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#566DEC
RGBrgb(86, 109, 236)
HSLhsl(231, 80%, 63%)
HSVhsv(231, 64%, 93%)
CMYKcmyk(63.6%, 53.8%, 0%, 7.5%)
CIE-LABlab(50.65, 30.66, -66.83)
CIE-LCHlch(50.65, 73.53, 294.65°)
OKLaboklab(58.63% 0.005 -0.192)
OKLCHoklch(58.63% 0.192 271.5)
XYZxyz(24.4416, 18.9697, 81.7141)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566DEC #ECD556
analogous
#56B8EC #566DEC #8A56EC
triadic
#566DEC #EC566D #6DEC56
tetradic
#566DEC #EC56B8 #ECD556 #56EC8A
square
#566DEC #EC56B8 #ECD556 #56EC8A
split-complementary
#566DEC #EC8A56 #B8EC56
monochromatic
#142DB3 #1F3DE6 #566DEC #8D9DF2 #C4CCF8

Accessibility & contrast

On white

4.38
#566DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#566DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #566DEC
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##566DEC#FFFFFF#000000##000000
##566DEC1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B80F0
Deuteranopia (green-blind)
#0072E9
Tritanopia (blue-blind)
#008BA2
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #566dec;
/* rgb */ color: rgb(86, 109, 236);
/* oklch */ color: oklch(58.6% 0.192 271.5);
Tailwind
colors: {
  custom: {
    50: '#9496f3',
    500: '#566dec',
    950: '#000000',
  },
}
SCSS
$custom: #566dec;
$custom-light: #9496f3;
$custom-dark: #000000;
JSON
{
  "hex": "#566dec",
  "rgb": {
    "r": 86,
    "g": 109,
    "b": 236
  },
  "hsl": {
    "h": 230.8,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.58631,
    "c": 0.19205,
    "h": 271.5
  },
  "luminance": 0.18972
}

Semantic roles & 50–950 ramp

primary
#566DEC
secondary
#EAE2B4
accent
#BC09DC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #566DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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