#5641CA#5641CA

#5641CA is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.4% C 0.201 H 282.9°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#5641CA
RGBrgb(86, 65, 202)
HSLhsl(249, 56%, 52%)
HSVhsv(249, 68%, 79%)
CMYKcmyk(57.4%, 67.8%, 0%, 20.8%)
CIE-LABlab(37.88, 46.03, -68.23)
CIE-LCHlch(37.88, 82.30, 304.00°)
OKLaboklab(48.42% 0.0448 -0.1964)
OKLCHoklch(48.42% 0.201 282.9)
XYZxyz(16.3854, 10.0222, 56.9367)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5641CA #B5CA41
analogous
#4171CA #5641CA #9B41CA
triadic
#5641CA #CA5641 #41CA56
tetradic
#5641CA #CA4171 #B5CA41 #41CA9B
square
#5641CA #CA4171 #B5CA41 #41CA9B
split-complementary
#5641CA #CA9B41 #71CA41
monochromatic
#2C2071 #3F2DA1 #5641CA #8171D7 #ABA1E5

Accessibility & contrast

On white

6.99
#5641CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5641CA
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5641CA#FFFFFF#000000##FFFFFF
##5641CA1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECE
Deuteranopia (green-blind)
#0054C7
Tritanopia (blue-blind)
#146580
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5641ca;
/* rgb */ color: rgb(86, 65, 202);
/* oklch */ color: oklch(48.4% 0.201 282.9);
Tailwind
colors: {
  custom: {
    50: '#9177db',
    500: '#5641ca',
    950: '#000000',
  },
}
SCSS
$custom: #5641ca;
$custom-light: #9177db;
$custom-dark: #000000;
JSON
{
  "hex": "#5641ca",
  "rgb": {
    "r": 86,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 249.197,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.48424,
    "c": 0.20142,
    "h": 282.9
  },
  "luminance": 0.10023
}

Semantic roles & 50–950 ramp

primary
#5641CA
secondary
#C8D196
accent
#E048C8
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5641CA

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

Preview Lab → · Contrast checker → · Palette generator →

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