#566DF5#566DF5

#566DF5 is a mid, highly saturated blue. Relative luminance 0.195; OKLCH L 59.3% C 0.204 H 271.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#566DF5
RGBrgb(86, 109, 245)
HSLhsl(231, 89%, 65%)
HSVhsv(231, 65%, 96%)
CMYKcmyk(64.9%, 55.5%, 0%, 3.9%)
CIE-LABlab(51.27, 33.69, -70.85)
CIE-LCHlch(51.27, 78.46, 295.43°)
OKLaboklab(59.29% 0.0053 -0.2038)
OKLCHoklch(59.29% 0.204 271.5)
XYZxyz(25.7823, 19.5059, 88.7748)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566DF5 #F5DE56
analogous
#56BCF5 #566DF5 #8F56F5
triadic
#566DF5 #F5566D #6DF556
tetradic
#566DF5 #F556BC #F5DE56 #56F58F
square
#566DF5 #F556BC #F5DE56 #56F58F
split-complementary
#566DF5 #F58F56 #BCF556
monochromatic
#0C26C5 #1C3BF2 #566DF5 #909FF8 #CAD1FC

Accessibility & contrast

On white

4.28
#566DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#566DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #566DF5
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##566DF5#FFFFFF#000000##000000
##566DF51.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FA
Deuteranopia (green-blind)
#0073F2
Tritanopia (blue-blind)
#008EA6
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #566df5;
/* rgb */ color: rgb(86, 109, 245);
/* oklch */ color: oklch(59.3% 0.204 271.5);
Tailwind
colors: {
  custom: {
    50: '#9696f9',
    500: '#566df5',
    950: '#000000',
  },
}
SCSS
$custom: #566df5;
$custom-light: #9696f9;
$custom-dark: #000000;
JSON
{
  "hex": "#566df5",
  "rgb": {
    "r": 86,
    "g": 109,
    "b": 245
  },
  "hsl": {
    "h": 231.321,
    "s": 88.827,
    "l": 64.902
  },
  "oklch": {
    "l": 0.59295,
    "c": 0.20388,
    "h": 271.5
  },
  "luminance": 0.19508
}

Semantic roles & 50–950 ramp

primary
#566DF5
secondary
#EFE7B8
accent
#C400E5
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #566DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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