#5641CC#5641CC

#5641CC is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.6% C 0.204 H 282.6°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#5641CC
RGBrgb(86, 65, 204)
HSLhsl(249, 58%, 53%)
HSVhsv(249, 68%, 80%)
CMYKcmyk(57.8%, 68.1%, 0%, 20%)
CIE-LABlab(38.05, 46.63, -69.11)
CIE-LCHlch(38.05, 83.37, 304.01°)
OKLaboklab(48.6% 0.0445 -0.1989)
OKLCHoklch(48.6% 0.204 282.6)
XYZxyz(16.6238, 10.1176, 58.1919)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5641CC #B7CC41
analogous
#4171CC #5641CC #9C41CC
triadic
#5641CC #CC5641 #41CC56
tetradic
#5641CC #CC4171 #B7CC41 #41CC9C
square
#5641CC #CC4171 #B7CC41 #41CC9C
split-complementary
#5641CC #CC9C41 #71CC41
monochromatic
#2C1F74 #3E2CA4 #5641CC #8171D9 #ACA1E6

Accessibility & contrast

On white

6.94
#5641CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#5641CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5641CC
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5641CC#FFFFFF#000000##FFFFFF
##5641CC1.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED0
Deuteranopia (green-blind)
#0055C9
Tritanopia (blue-blind)
#0F6581
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5641cc;
/* rgb */ color: rgb(86, 65, 204);
/* oklch */ color: oklch(48.6% 0.204 282.6);
Tailwind
colors: {
  custom: {
    50: '#9277dd',
    500: '#5641cc',
    950: '#000000',
  },
}
SCSS
$custom: #5641cc;
$custom-light: #9277dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5641cc",
  "rgb": {
    "r": 86,
    "g": 65,
    "b": 204
  },
  "hsl": {
    "h": 249.065,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.48599,
    "c": 0.20387,
    "h": 282.6
  },
  "luminance": 0.10119
}

Semantic roles & 50–950 ramp

primary
#5641CC
secondary
#C9D396
accent
#E147CA
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5641CC

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

Preview Lab → · Contrast checker → · Palette generator →

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