#5641D1#5641D1

#5641D1 is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 49.0% C 0.210 H 282.0°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#5641D1
RGBrgb(86, 65, 209)
HSLhsl(249, 61%, 54%)
HSVhsv(249, 69%, 82%)
CMYKcmyk(58.9%, 68.9%, 0%, 18%)
CIE-LABlab(38.48, 48.15, -71.30)
CIE-LCHlch(38.48, 86.04, 304.03°)
OKLaboklab(49.04% 0.0437 -0.2054)
OKLCHoklch(49.04% 0.21 282)
XYZxyz(17.2331, 10.3613, 61.4011)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5641D1 #BCD141
analogous
#4174D1 #5641D1 #9E41D1
triadic
#5641D1 #D15641 #41D156
tetradic
#5641D1 #D14174 #BCD141 #41D19E
square
#5641D1 #D14174 #BCD141 #41D19E
split-complementary
#5641D1 #D19E41 #74D141
monochromatic
#2B1E7A #3C29AB #5641D1 #8272DD #AEA4E9

Accessibility & contrast

On white

6.84
#5641D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#5641D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5641D1
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5641D1#FFFFFF#000000##FFFFFF
##5641D11.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD5
Deuteranopia (green-blind)
#0055CE
Tritanopia (blue-blind)
#006784
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5641d1;
/* rgb */ color: rgb(86, 65, 209);
/* oklch */ color: oklch(49.0% 0.210 282.0);
Tailwind
colors: {
  custom: {
    50: '#9278e0',
    500: '#5641d1',
    950: '#000000',
  },
}
SCSS
$custom: #5641d1;
$custom-light: #9278e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5641d1",
  "rgb": {
    "r": 86,
    "g": 65,
    "b": 209
  },
  "hsl": {
    "h": 248.75,
    "s": 61.017,
    "l": 53.725
  },
  "oklch": {
    "l": 0.4904,
    "c": 0.20997,
    "h": 282
  },
  "luminance": 0.10362
}

Semantic roles & 50–950 ramp

primary
#5641D1
secondary
#CDD698
accent
#E444CD
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5641D1

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

Preview Lab → · Contrast checker → · Palette generator →

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