#5641C2#5641C2

#5641C2 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.7% C 0.191 H 283.9°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#5641C2
RGBrgb(86, 65, 194)
HSLhsl(250, 51%, 51%)
HSVhsv(250, 66%, 76%)
CMYKcmyk(55.7%, 66.5%, 0%, 23.9%)
CIE-LABlab(37.21, 43.59, -64.66)
CIE-LCHlch(37.21, 77.98, 303.98°)
OKLaboklab(47.74% 0.0459 -0.1859)
OKLCHoklch(47.74% 0.191 283.9)
XYZxyz(15.4627, 9.6531, 52.0769)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5641C2 #ADC241
analogous
#416DC2 #5641C2 #9641C2
triadic
#5641C2 #C25641 #41C256
tetradic
#5641C2 #C2416D #ADC241 #41C296
square
#5641C2 #C2416D #ADC241 #41C296
split-complementary
#5641C2 #C29641 #6DC241
monochromatic
#2D2167 #413096 #5641C2 #7F6FD1 #A89EE0

Accessibility & contrast

On white

7.17
#5641C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#5641C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5641C2
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5641C2#FFFFFF#000000##FFFFFF
##5641C21.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#0053BF
Tritanopia (blue-blind)
#22627C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5641c2;
/* rgb */ color: rgb(86, 65, 194);
/* oklch */ color: oklch(47.7% 0.191 283.9);
Tailwind
colors: {
  custom: {
    50: '#9077d5',
    500: '#5641c2',
    950: '#000000',
  },
}
SCSS
$custom: #5641c2;
$custom-light: #9077d5;
$custom-dark: #000000;
JSON
{
  "hex": "#5641c2",
  "rgb": {
    "r": 86,
    "g": 65,
    "b": 194
  },
  "hsl": {
    "h": 249.767,
    "s": 51.394,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47735,
    "c": 0.19149,
    "h": 283.9
  },
  "luminance": 0.09654
}

Semantic roles & 50–950 ramp

primary
#5641C2
secondary
#C3CC93
accent
#DB4DC4
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5641C2

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

Preview Lab → · Contrast checker → · Palette generator →

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