#5641C5#5641C5

#5641C5 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 48.0% C 0.195 H 283.5°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#5641C5
RGBrgb(86, 65, 197)
HSLhsl(250, 53%, 51%)
HSVhsv(250, 67%, 77%)
CMYKcmyk(56.3%, 67%, 0%, 22.7%)
CIE-LABlab(37.46, 44.50, -66.01)
CIE-LCHlch(37.46, 79.61, 303.99°)
OKLaboklab(47.99% 0.0455 -0.1898)
OKLCHoklch(47.99% 0.195 283.5)
XYZxyz(15.8030, 9.7893, 53.8693)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5641C5 #B0C541
analogous
#416EC5 #5641C5 #9841C5
triadic
#5641C5 #C55641 #41C556
tetradic
#5641C5 #C5416E #B0C541 #41C598
square
#5641C5 #C5416E #B0C541 #41C598
split-complementary
#5641C5 #C59841 #6EC541
monochromatic
#2C216B #402F9A #5641C5 #8070D3 #A99FE2

Accessibility & contrast

On white

7.10
#5641C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#5641C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5641C5
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5641C5#FFFFFF#000000##FFFFFF
##5641C51.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC9
Deuteranopia (green-blind)
#0054C2
Tritanopia (blue-blind)
#1E637D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5641c5;
/* rgb */ color: rgb(86, 65, 197);
/* oklch */ color: oklch(48.0% 0.195 283.5);
Tailwind
colors: {
  custom: {
    50: '#9077d8',
    500: '#5641c5',
    950: '#000000',
  },
}
SCSS
$custom: #5641c5;
$custom-light: #9077d8;
$custom-dark: #000000;
JSON
{
  "hex": "#5641c5",
  "rgb": {
    "r": 86,
    "g": 65,
    "b": 197
  },
  "hsl": {
    "h": 249.545,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.47991,
    "c": 0.19523,
    "h": 283.5
  },
  "luminance": 0.0979
}

Semantic roles & 50–950 ramp

primary
#5641C5
secondary
#C5CE94
accent
#DD4BC5
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5641C5

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

Preview Lab → · Contrast checker → · Palette generator →

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