#5641C9#5641C9

#5641C9 is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.3% C 0.200 H 283.0°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#5641C9
RGBrgb(86, 65, 201)
HSLhsl(249, 56%, 52%)
HSVhsv(249, 68%, 79%)
CMYKcmyk(57.2%, 67.7%, 0%, 21.2%)
CIE-LABlab(37.80, 45.72, -67.79)
CIE-LCHlch(37.80, 81.76, 304.00°)
OKLaboklab(48.34% 0.0449 -0.1951)
OKLCHoklch(48.34% 0.2 283)
XYZxyz(16.2674, 9.9750, 56.3152)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5641C9 #B4C941
analogous
#4170C9 #5641C9 #9A41C9
triadic
#5641C9 #C95641 #41C956
tetradic
#5641C9 #C94170 #B4C941 #41C99A
square
#5641C9 #C94170 #B4C941 #41C99A
split-complementary
#5641C9 #C99A41 #70C941
monochromatic
#2C2070 #3F2D9F #5641C9 #8071D7 #ABA0E4

Accessibility & contrast

On white

7.01
#5641C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#5641C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5641C9
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5641C9#FFFFFF#000000##FFFFFF
##5641C91.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCD
Deuteranopia (green-blind)
#0054C6
Tritanopia (blue-blind)
#176480
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5641c9;
/* rgb */ color: rgb(86, 65, 201);
/* oklch */ color: oklch(48.3% 0.200 283.0);
Tailwind
colors: {
  custom: {
    50: '#9177da',
    500: '#5641c9',
    950: '#000000',
  },
}
SCSS
$custom: #5641c9;
$custom-light: #9177da;
$custom-dark: #000000;
JSON
{
  "hex": "#5641c9",
  "rgb": {
    "r": 86,
    "g": 65,
    "b": 201
  },
  "hsl": {
    "h": 249.265,
    "s": 55.738,
    "l": 52.157
  },
  "oklch": {
    "l": 0.48337,
    "c": 0.20018,
    "h": 283
  },
  "luminance": 0.09976
}

Semantic roles & 50–950 ramp

primary
#5641C9
secondary
#C7D195
accent
#DF49C8
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5641C9

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

Preview Lab → · Contrast checker → · Palette generator →

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