#5641D9#5641D9

#5641D9 is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.8% C 0.220 H 281.1°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#5641D9
RGBrgb(86, 65, 217)
HSLhsl(248, 67%, 55%)
HSVhsv(248, 70%, 85%)
CMYKcmyk(60.4%, 70%, 0%, 14.9%)
CIE-LABlab(39.19, 50.58, -74.75)
CIE-LCHlch(39.19, 90.25, 304.08°)
OKLaboklab(49.76% 0.0423 -0.2155)
OKLCHoklch(49.76% 0.22 281.1)
XYZxyz(18.2485, 10.7675, 66.7489)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5641D9 #C4D941
analogous
#4178D9 #5641D9 #A241D9
triadic
#5641D9 #D95641 #41D956
tetradic
#5641D9 #D94178 #C4D941 #41D9A2
square
#5641D9 #D94178 #C4D941 #41D9A2
split-complementary
#5641D9 #D9A241 #78D941
monochromatic
#291B85 #3925B8 #5641D9 #8374E3 #B1A7ED

Accessibility & contrast

On white

6.66
#5641D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#5641D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5641D9
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5641D9#FFFFFF#000000##FFFFFF
##5641D91.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DE
Deuteranopia (green-blind)
#0057D6
Tritanopia (blue-blind)
#006A88
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5641d9;
/* rgb */ color: rgb(86, 65, 217);
/* oklch */ color: oklch(49.8% 0.220 281.1);
Tailwind
colors: {
  custom: {
    50: '#9478e6',
    500: '#5641d9',
    950: '#000000',
  },
}
SCSS
$custom: #5641d9;
$custom-light: #9478e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5641d9",
  "rgb": {
    "r": 86,
    "g": 65,
    "b": 217
  },
  "hsl": {
    "h": 248.289,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.49758,
    "c": 0.2196,
    "h": 281.1
  },
  "luminance": 0.10769
}

Semantic roles & 50–950 ramp

primary
#5641D9
secondary
#D2DB9B
accent
#EA3ED2
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5641D9

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

Preview Lab → · Contrast checker → · Palette generator →

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