#5641D3#5641D3

#5641D3 is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.2% C 0.212 H 281.8°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#5641D3
RGBrgb(86, 65, 211)
HSLhsl(249, 62%, 54%)
HSVhsv(249, 69%, 83%)
CMYKcmyk(59.2%, 69.2%, 0%, 17.3%)
CIE-LABlab(38.66, 48.76, -72.17)
CIE-LCHlch(38.66, 87.10, 304.04°)
OKLaboklab(49.22% 0.0434 -0.2079)
OKLCHoklch(49.22% 0.212 281.8)
XYZxyz(17.4822, 10.4610, 62.7133)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5641D3 #BED341
analogous
#4175D3 #5641D3 #9F41D3
triadic
#5641D3 #D35641 #41D356
tetradic
#5641D3 #D34175 #BED341 #41D39F
square
#5641D3 #D34175 #BED341 #41D39F
split-complementary
#5641D3 #D39F41 #75D341
monochromatic
#2B1D7D #3C28AE #5641D3 #8273DF #AEA4EA

Accessibility & contrast

On white

6.79
#5641D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#5641D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5641D3
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5641D3#FFFFFF#000000##FFFFFF
##5641D31.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D7
Deuteranopia (green-blind)
#0056D0
Tritanopia (blue-blind)
#006885
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5641d3;
/* rgb */ color: rgb(86, 65, 211);
/* oklch */ color: oklch(49.2% 0.212 281.8);
Tailwind
colors: {
  custom: {
    50: '#9378e2',
    500: '#5641d3',
    950: '#000000',
  },
}
SCSS
$custom: #5641d3;
$custom-light: #9378e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5641d3",
  "rgb": {
    "r": 86,
    "g": 65,
    "b": 211
  },
  "hsl": {
    "h": 248.63,
    "s": 62.393,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49218,
    "c": 0.21239,
    "h": 281.8
  },
  "luminance": 0.10462
}

Semantic roles & 50–950 ramp

primary
#5641D3
secondary
#CED799
accent
#E542CE
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0915
muted
#7E7B84

Preview Lab

Preview with #5641D3

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

Preview Lab → · Contrast checker → · Palette generator →

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