#566DD5#566DD5

#566DD5 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 57.0% C 0.161 H 271.1°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#566DD5
RGBrgb(86, 109, 213)
HSLhsl(229, 60%, 59%)
HSVhsv(229, 60%, 84%)
CMYKcmyk(59.6%, 48.8%, 0%, 16.5%)
CIE-LABlab(49.15, 22.93, -56.27)
CIE-LCHlch(49.15, 60.77, 292.17°)
OKLaboklab(57.02% 0.0031 -0.1609)
OKLCHoklch(57.02% 0.161 271.1)
XYZxyz(21.3126, 17.7181, 65.2347)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566DD5 #D5BE56
analogous
#56ACD5 #566DD5 #7E56D5
triadic
#566DD5 #D5566D #6DD556
tetradic
#566DD5 #D556AC #D5BE56 #56D57E
square
#566DD5 #D556AC #D5BE56 #56D57E
split-complementary
#566DD5 #D57E56 #ACD556
monochromatic
#23368D #2F49BE #566DD5 #8797E1 #B8C2ED

Accessibility & contrast

On white

4.62
#566DD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#566DD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #566DD5
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##566DD5#FFFFFF#000000##FFFFFF
##566DD51.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#377BD9
Deuteranopia (green-blind)
#206FD3
Tritanopia (blue-blind)
#008597
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #566dd5;
/* rgb */ color: rgb(86, 109, 213);
/* oklch */ color: oklch(57.0% 0.161 271.1);
Tailwind
colors: {
  custom: {
    50: '#9096e2',
    500: '#566dd5',
    950: '#000000',
  },
}
SCSS
$custom: #566dd5;
$custom-light: #9096e2;
$custom-dark: #000000;
JSON
{
  "hex": "#566dd5",
  "rgb": {
    "r": 86,
    "g": 109,
    "b": 213
  },
  "hsl": {
    "h": 229.134,
    "s": 60.19,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57022,
    "c": 0.16095,
    "h": 271.1
  },
  "luminance": 0.1772
}

Semantic roles & 50–950 ramp

primary
#566DD5
secondary
#DDD3AA
accent
#C744E3
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #566DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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