#5641D7#5641D7

#5641D7 is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.6% C 0.217 H 281.3°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#5641D7
RGBrgb(86, 65, 215)
HSLhsl(248, 65%, 55%)
HSVhsv(248, 70%, 84%)
CMYKcmyk(60%, 69.8%, 0%, 15.7%)
CIE-LABlab(39.01, 49.97, -73.89)
CIE-LCHlch(39.01, 89.20, 304.07°)
OKLaboklab(49.58% 0.0427 -0.213)
OKLCHoklch(49.58% 0.217 281.3)
XYZxyz(17.9899, 10.6641, 65.3872)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5641D7 #C2D741
analogous
#4177D7 #5641D7 #A141D7
triadic
#5641D7 #D75641 #41D756
tetradic
#5641D7 #D74177 #C2D741 #41D7A1
square
#5641D7 #D74177 #C2D741 #41D7A1
split-complementary
#5641D7 #D7A141 #77D741
monochromatic
#2A1B82 #3A26B5 #5641D7 #8374E2 #B0A6EC

Accessibility & contrast

On white

6.70
#5641D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#5641D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5641D7
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5641D7#FFFFFF#000000##FFFFFF
##5641D71.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5641d7;
/* rgb */ color: rgb(86, 65, 215);
/* oklch */ color: oklch(49.6% 0.217 281.3);
Tailwind
colors: {
  custom: {
    50: '#9378e5',
    500: '#5641d7',
    950: '#000000',
  },
}
SCSS
$custom: #5641d7;
$custom-light: #9378e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5641d7",
  "rgb": {
    "r": 86,
    "g": 65,
    "b": 215
  },
  "hsl": {
    "h": 248.4,
    "s": 65.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.49577,
    "c": 0.21721,
    "h": 281.3
  },
  "luminance": 0.10665
}

Semantic roles & 50–950 ramp

primary
#5641D7
secondary
#D1D99A
accent
#E840D1
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5641D7

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

Preview Lab → · Contrast checker → · Palette generator →

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