#5641DC#5641DC

#5641DC is a mid, highly saturated blue. Relative luminance 0.109; OKLCH L 50.0% C 0.223 H 280.8°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#5641DC
RGBrgb(86, 65, 220)
HSLhsl(248, 69%, 56%)
HSVhsv(248, 70%, 86%)
CMYKcmyk(60.9%, 70.5%, 0%, 13.7%)
CIE-LABlab(39.45, 51.48, -76.03)
CIE-LCHlch(39.45, 91.82, 304.10°)
OKLaboklab(50.03% 0.0418 -0.2192)
OKLCHoklch(50.03% 0.223 280.8)
XYZxyz(18.6422, 10.9250, 68.8226)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5641DC #C7DC41
analogous
#4179DC #5641DC #A341DC
triadic
#5641DC #DC5641 #41DC56
tetradic
#5641DC #DC4179 #C7DC41 #41DCA3
square
#5641DC #DC4179 #C7DC41 #41DCA3
split-complementary
#5641DC #DCA341 #79DC41
monochromatic
#281989 #3823BD #5641DC #8475E6 #B2A8EF

Accessibility & contrast

On white

6.59
#5641DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#5641DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5641DC
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5641DC#FFFFFF#000000##FFFFFF
##5641DC1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E1
Deuteranopia (green-blind)
#0057D9
Tritanopia (blue-blind)
#006B8A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5641dc;
/* rgb */ color: rgb(86, 65, 220);
/* oklch */ color: oklch(50.0% 0.223 280.8);
Tailwind
colors: {
  custom: {
    50: '#9478e8',
    500: '#5641dc',
    950: '#000000',
  },
}
SCSS
$custom: #5641dc;
$custom-light: #9478e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5641dc",
  "rgb": {
    "r": 86,
    "g": 65,
    "b": 220
  },
  "hsl": {
    "h": 248.129,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.5003,
    "c": 0.22317,
    "h": 280.8
  },
  "luminance": 0.10926
}

Semantic roles & 50–950 ramp

primary
#5641DC
secondary
#D4DD9C
accent
#EC3CD4
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5641DC

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

Preview Lab → · Contrast checker → · Palette generator →

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