#5641D5#5641D5

#5641D5 is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.4% C 0.215 H 281.6°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#5641D5
RGBrgb(86, 65, 213)
HSLhsl(249, 64%, 55%)
HSVhsv(249, 69%, 84%)
CMYKcmyk(59.6%, 69.5%, 0%, 16.5%)
CIE-LABlab(38.83, 49.37, -73.03)
CIE-LCHlch(38.83, 88.15, 304.06°)
OKLaboklab(49.4% 0.043 -0.2104)
OKLCHoklch(49.4% 0.215 281.6)
XYZxyz(17.7345, 10.5619, 64.0420)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5641D5 #C0D541
analogous
#4176D5 #5641D5 #A041D5
triadic
#5641D5 #D55641 #41D556
tetradic
#5641D5 #D54176 #C0D541 #41D5A0
square
#5641D5 #D54176 #C0D541 #41D5A0
split-complementary
#5641D5 #D5A041 #76D541
monochromatic
#2A1C7F #3B27B2 #5641D5 #8373E0 #AFA5EB

Accessibility & contrast

On white

6.75
#5641D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#5641D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5641D5
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5641D5#FFFFFF#000000##FFFFFF
##5641D51.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D9
Deuteranopia (green-blind)
#0056D2
Tritanopia (blue-blind)
#006986
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5641d5;
/* rgb */ color: rgb(86, 65, 213);
/* oklch */ color: oklch(49.4% 0.215 281.6);
Tailwind
colors: {
  custom: {
    50: '#9378e3',
    500: '#5641d5',
    950: '#000000',
  },
}
SCSS
$custom: #5641d5;
$custom-light: #9378e3;
$custom-dark: #000000;
JSON
{
  "hex": "#5641d5",
  "rgb": {
    "r": 86,
    "g": 65,
    "b": 213
  },
  "hsl": {
    "h": 248.514,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.49397,
    "c": 0.2148,
    "h": 281.6
  },
  "luminance": 0.10563
}

Semantic roles & 50–950 ramp

primary
#5641D5
secondary
#CFD89A
accent
#E741CF
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5641D5

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

Preview Lab → · Contrast checker → · Palette generator →

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