#5641DF#5641DF

#5641DF is a mid, highly saturated blue. Relative luminance 0.111; OKLCH L 50.3% C 0.227 H 280.5°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#5641DF
RGBrgb(86, 65, 223)
HSLhsl(248, 71%, 56%)
HSVhsv(248, 71%, 87%)
CMYKcmyk(61.4%, 70.9%, 0%, 12.5%)
CIE-LABlab(39.72, 52.39, -77.30)
CIE-LCHlch(39.72, 93.38, 304.12°)
OKLaboklab(50.31% 0.0412 -0.2229)
OKLCHoklch(50.31% 0.227 280.5)
XYZxyz(19.0431, 11.0853, 70.9339)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5641DF #CADF41
analogous
#417BDF #5641DF #A541DF
triadic
#5641DF #DF5641 #41DF56
tetradic
#5641DF #DF417B #CADF41 #41DFA5
square
#5641DF #DF417B #CADF41 #41DFA5
split-complementary
#5641DF #DFA541 #7BDF41
monochromatic
#28188E #3621C2 #5641DF #8575E8 #B3AAF1

Accessibility & contrast

On white

6.53
#5641DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#5641DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5641DF
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5641DF#FFFFFF#000000##FFFFFF
##5641DF1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E4
Deuteranopia (green-blind)
#0058DC
Tritanopia (blue-blind)
#006C8C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5641df;
/* rgb */ color: rgb(86, 65, 223);
/* oklch */ color: oklch(50.3% 0.227 280.5);
Tailwind
colors: {
  custom: {
    50: '#9578ea',
    500: '#5641df',
    950: '#000000',
  },
}
SCSS
$custom: #5641df;
$custom-light: #9578ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5641df",
  "rgb": {
    "r": 86,
    "g": 65,
    "b": 223
  },
  "hsl": {
    "h": 247.975,
    "s": 71.171,
    "l": 56.471
  },
  "oklch": {
    "l": 0.50305,
    "c": 0.22672,
    "h": 280.5
  },
  "luminance": 0.11087
}

Semantic roles & 50–950 ramp

primary
#5641DF
secondary
#D6DE9D
accent
#EE3AD6
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5641DF

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

Preview Lab → · Contrast checker → · Palette generator →

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