#5641DE#5641DE

#5641DE is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 50.2% C 0.226 H 280.6°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#5641DE
RGBrgb(86, 65, 222)
HSLhsl(248, 70%, 56%)
HSVhsv(248, 71%, 87%)
CMYKcmyk(61.3%, 70.7%, 0%, 12.9%)
CIE-LABlab(39.63, 52.08, -76.88)
CIE-LCHlch(39.63, 92.86, 304.12°)
OKLaboklab(50.21% 0.0414 -0.2217)
OKLCHoklch(50.21% 0.226 280.6)
XYZxyz(18.9087, 11.0316, 70.2260)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5641DE #C9DE41
analogous
#417BDE #5641DE #A441DE
triadic
#5641DE #DE5641 #41DE56
tetradic
#5641DE #DE417B #C9DE41 #41DEA4
square
#5641DE #DE417B #C9DE41 #41DEA4
split-complementary
#5641DE #DEA441 #7BDE41
monochromatic
#28188C #3721C0 #5641DE #8475E7 #B3A9F0

Accessibility & contrast

On white

6.55
#5641DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#5641DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5641DE
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5641DE#FFFFFF#000000##FFFFFF
##5641DE1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E3
Deuteranopia (green-blind)
#0057DB
Tritanopia (blue-blind)
#006C8B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5641de;
/* rgb */ color: rgb(86, 65, 222);
/* oklch */ color: oklch(50.2% 0.226 280.6);
Tailwind
colors: {
  custom: {
    50: '#9578ea',
    500: '#5641de',
    950: '#000000',
  },
}
SCSS
$custom: #5641de;
$custom-light: #9578ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5641de",
  "rgb": {
    "r": 86,
    "g": 65,
    "b": 222
  },
  "hsl": {
    "h": 248.025,
    "s": 70.404,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50213,
    "c": 0.22555,
    "h": 280.6
  },
  "luminance": 0.11033
}

Semantic roles & 50–950 ramp

primary
#5641DE
secondary
#D5DE9D
accent
#ED3BD5
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5641DE

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

Preview Lab → · Contrast checker → · Palette generator →

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