#5641D6#5641D6

#5641D6 is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.5% C 0.216 H 281.4°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#5641D6
RGBrgb(86, 65, 214)
HSLhsl(248, 65%, 55%)
HSVhsv(248, 70%, 84%)
CMYKcmyk(59.8%, 69.6%, 0%, 16.1%)
CIE-LABlab(38.92, 49.67, -73.46)
CIE-LCHlch(38.92, 88.68, 304.06°)
OKLaboklab(49.49% 0.0429 -0.2117)
OKLCHoklch(49.49% 0.216 281.4)
XYZxyz(17.8618, 10.6128, 64.7125)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5641D6 #C1D641
analogous
#4177D6 #5641D6 #A041D6
triadic
#5641D6 #D65641 #41D656
tetradic
#5641D6 #D64177 #C1D641 #41D6A0
square
#5641D6 #D64177 #C1D641 #41D6A0
split-complementary
#5641D6 #D6A041 #77D641
monochromatic
#2A1C81 #3A27B3 #5641D6 #8373E1 #B0A6EC

Accessibility & contrast

On white

6.72
#5641D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#5641D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5641D6
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5641D6#FFFFFF#000000##FFFFFF
##5641D61.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061DA
Deuteranopia (green-blind)
#0056D3
Tritanopia (blue-blind)
#006987
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5641d6;
/* rgb */ color: rgb(86, 65, 214);
/* oklch */ color: oklch(49.5% 0.216 281.4);
Tailwind
colors: {
  custom: {
    50: '#9378e4',
    500: '#5641d6',
    950: '#000000',
  },
}
SCSS
$custom: #5641d6;
$custom-light: #9378e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5641d6",
  "rgb": {
    "r": 86,
    "g": 65,
    "b": 214
  },
  "hsl": {
    "h": 248.456,
    "s": 64.502,
    "l": 54.706
  },
  "oklch": {
    "l": 0.49487,
    "c": 0.216,
    "h": 281.4
  },
  "luminance": 0.10614
}

Semantic roles & 50–950 ramp

primary
#5641D6
secondary
#D0D99A
accent
#E740D0
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5641D6

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

Preview Lab → · Contrast checker → · Palette generator →

#5641D6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva