#5646BD#5646BD

#5646BD is a mid, vivid blue. Relative luminance 0.100; OKLCH L 48.1% C 0.179 H 283.5°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#5646BD
RGBrgb(86, 70, 189)
HSLhsl(248, 47%, 51%)
HSVhsv(248, 63%, 74%)
CMYKcmyk(54.5%, 63%, 0%, 25.9%)
CIE-LABlab(37.90, 39.13, -60.61)
CIE-LCHlch(37.90, 72.15, 302.85°)
OKLaboklab(48.11% 0.0418 -0.174)
OKLCHoklch(48.11% 0.179 283.5)
XYZxyz(15.2104, 10.0320, 49.2691)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5646BD #ADBD46
analogous
#4671BD #5646BD #9146BD
triadic
#5646BD #BD5646 #46BD56
tetradic
#5646BD #BD4671 #ADBD46 #46BD91
square
#5646BD #BD4671 #ADBD46 #46BD91
split-complementary
#5646BD #BD9146 #71BD46
monochromatic
#2D2465 #413492 #5646BD #7F73CD #A8A0DD

Accessibility & contrast

On white

6.98
#5646BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#5646BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5646BD
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5646BD#FFFFFF#000000##FFFFFF
##5646BD1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#0055BB
Tritanopia (blue-blind)
#28637B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5646bd;
/* rgb */ color: rgb(86, 70, 189);
/* oklch */ color: oklch(48.1% 0.179 283.5);
Tailwind
colors: {
  custom: {
    50: '#8f7ad2',
    500: '#5646bd',
    950: '#000000',
  },
}
SCSS
$custom: #5646bd;
$custom-light: #8f7ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#5646bd",
  "rgb": {
    "r": 86,
    "g": 70,
    "b": 189
  },
  "hsl": {
    "h": 248.067,
    "s": 47.41,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48108,
    "c": 0.17895,
    "h": 283.5
  },
  "luminance": 0.10033
}

Semantic roles & 50–950 ramp

primary
#5646BD
secondary
#C3CA95
accent
#D751C5
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5646BD

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

Preview Lab → · Contrast checker → · Palette generator →

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