#5646BC#5646BC

#5646BC is a mid, vivid blue. Relative luminance 0.100; OKLCH L 48.0% C 0.178 H 283.6°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#5646BC
RGBrgb(86, 70, 188)
HSLhsl(248, 47%, 51%)
HSVhsv(248, 63%, 74%)
CMYKcmyk(54.3%, 62.8%, 0%, 26.3%)
CIE-LABlab(37.82, 38.82, -60.15)
CIE-LCHlch(37.82, 71.59, 302.84°)
OKLaboklab(48.03% 0.0418 -0.1726)
OKLCHoklch(48.03% 0.178 283.6)
XYZxyz(15.1022, 9.9887, 48.6994)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5646BC #ACBC46
analogous
#4671BC #5646BC #9146BC
triadic
#5646BC #BC5646 #46BC56
tetradic
#5646BC #BC4671 #ACBC46 #46BC91
square
#5646BC #BC4671 #ACBC46 #46BC91
split-complementary
#5646BC #BC9146 #71BC46
monochromatic
#2D2464 #413490 #5646BC #7F73CC #A8A0DD

Accessibility & contrast

On white

7.00
#5646BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#5646BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5646BC
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5646BC#FFFFFF#000000##FFFFFF
##5646BC1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#0055BA
Tritanopia (blue-blind)
#29637A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5646bc;
/* rgb */ color: rgb(86, 70, 188);
/* oklch */ color: oklch(48.0% 0.178 283.6);
Tailwind
colors: {
  custom: {
    50: '#8f7ad1',
    500: '#5646bc',
    950: '#000000',
  },
}
SCSS
$custom: #5646bc;
$custom-light: #8f7ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#5646bc",
  "rgb": {
    "r": 86,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 248.136,
    "s": 46.825,
    "l": 50.588
  },
  "oklch": {
    "l": 0.48027,
    "c": 0.17765,
    "h": 283.6
  },
  "luminance": 0.0999
}

Semantic roles & 50–950 ramp

primary
#5646BC
secondary
#C2C995
accent
#D651C4
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #5646BC

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

Preview Lab → · Contrast checker → · Palette generator →

#5646BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva