#5641D4#5641D4

#5641D4 is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.3% C 0.214 H 281.7°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#5641D4
RGBrgb(86, 65, 212)
HSLhsl(249, 63%, 54%)
HSVhsv(249, 69%, 83%)
CMYKcmyk(59.4%, 69.3%, 0%, 16.9%)
CIE-LABlab(38.74, 49.06, -72.60)
CIE-LCHlch(38.74, 87.62, 304.05°)
OKLaboklab(49.31% 0.0432 -0.2092)
OKLCHoklch(49.31% 0.214 281.7)
XYZxyz(17.6080, 10.5113, 63.3756)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5641D4 #BFD441
analogous
#4176D4 #5641D4 #9F41D4
triadic
#5641D4 #D45641 #41D456
tetradic
#5641D4 #D44176 #BFD441 #41D49F
square
#5641D4 #D44176 #BFD441 #41D49F
split-complementary
#5641D4 #D49F41 #76D441
monochromatic
#2A1D7E #3B28B0 #5641D4 #8273DF #AFA5EB

Accessibility & contrast

On white

6.77
#5641D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#5641D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5641D4
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5641D4#FFFFFF#000000##FFFFFF
##5641D41.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D8
Deuteranopia (green-blind)
#0056D1
Tritanopia (blue-blind)
#006886
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5641d4;
/* rgb */ color: rgb(86, 65, 212);
/* oklch */ color: oklch(49.3% 0.214 281.7);
Tailwind
colors: {
  custom: {
    50: '#9378e2',
    500: '#5641d4',
    950: '#000000',
  },
}
SCSS
$custom: #5641d4;
$custom-light: #9378e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5641d4",
  "rgb": {
    "r": 86,
    "g": 65,
    "b": 212
  },
  "hsl": {
    "h": 248.571,
    "s": 63.09,
    "l": 54.314
  },
  "oklch": {
    "l": 0.49308,
    "c": 0.2136,
    "h": 281.7
  },
  "luminance": 0.10512
}

Semantic roles & 50–950 ramp

primary
#5641D4
secondary
#CFD899
accent
#E642CF
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5641D4

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

Preview Lab → · Contrast checker → · Palette generator →

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