#5644C5#5644C5

#5644C5 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.5% C 0.192 H 282.9°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#5644C5
RGBrgb(86, 68, 197)
HSLhsl(248, 53%, 52%)
HSVhsv(248, 65%, 77%)
CMYKcmyk(56.3%, 65.5%, 0%, 22.7%)
CIE-LABlab(38.10, 42.78, -64.97)
CIE-LCHlch(38.10, 77.79, 303.36°)
OKLaboklab(48.45% 0.0429 -0.1868)
OKLCHoklch(48.45% 0.192 282.9)
XYZxyz(15.9798, 10.1429, 53.9282)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5644C5 #B3C544
analogous
#4473C5 #5644C5 #9744C5
triadic
#5644C5 #C55644 #44C556
tetradic
#5644C5 #C54473 #B3C544 #44C597
square
#5644C5 #C54473 #B3C544 #44C597
split-complementary
#5644C5 #C59744 #73C544
monochromatic
#2C226D #3F309C #5644C5 #8073D3 #AAA1E2

Accessibility & contrast

On white

6.93
#5644C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#5644C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5644C5
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5644C5#FFFFFF#000000##FFFFFF
##5644C51.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC9
Deuteranopia (green-blind)
#0055C2
Tritanopia (blue-blind)
#1D657E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5644c5;
/* rgb */ color: rgb(86, 68, 197);
/* oklch */ color: oklch(48.5% 0.192 282.9);
Tailwind
colors: {
  custom: {
    50: '#9079d8',
    500: '#5644c5',
    950: '#000000',
  },
}
SCSS
$custom: #5644c5;
$custom-light: #9079d8;
$custom-dark: #000000;
JSON
{
  "hex": "#5644c5",
  "rgb": {
    "r": 86,
    "g": 68,
    "b": 197
  },
  "hsl": {
    "h": 248.372,
    "s": 52.653,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48451,
    "c": 0.19165,
    "h": 282.9
  },
  "luminance": 0.10144
}

Semantic roles & 50–950 ramp

primary
#5644C5
secondary
#C7CF96
accent
#DC4CC8
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5644C5

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

Preview Lab → · Contrast checker → · Palette generator →

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