#5646B2#5646B2

#5646B2 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.2% C 0.165 H 285.0°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#5646B2
RGBrgb(86, 70, 178)
HSLhsl(249, 44%, 49%)
HSVhsv(249, 61%, 70%)
CMYKcmyk(51.7%, 60.7%, 0%, 30.2%)
CIE-LABlab(37.06, 35.72, -55.49)
CIE-LCHlch(37.06, 66.00, 302.77°)
OKLaboklab(47.23% 0.0425 -0.1589)
OKLCHoklch(47.23% 0.165 285)
XYZxyz(14.0614, 9.5724, 43.2176)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5646B2 #A2B246
analogous
#466CB2 #5646B2 #8C46B2
triadic
#5646B2 #B25646 #46B256
tetradic
#5646B2 #B2466C #A2B246 #46B28C
square
#5646B2 #B2466C #A2B246 #46B28C
split-complementary
#5646B2 #B28C46 #6CB246
monochromatic
#2C235A #413586 #5646B2 #7C6FC6 #A49BD8

Accessibility & contrast

On white

7.21
#5646B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#5646B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5646B2
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5646B2#FFFFFF#000000##FFFFFF
##5646B21.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#335F75
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5646b2;
/* rgb */ color: rgb(86, 70, 178);
/* oklch */ color: oklch(47.2% 0.165 285.0);
Tailwind
colors: {
  custom: {
    50: '#8d7aca',
    500: '#5646b2',
    950: '#000000',
  },
}
SCSS
$custom: #5646b2;
$custom-light: #8d7aca;
$custom-dark: #000000;
JSON
{
  "hex": "#5646b2",
  "rgb": {
    "r": 86,
    "g": 70,
    "b": 178
  },
  "hsl": {
    "h": 248.889,
    "s": 43.548,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47234,
    "c": 0.16452,
    "h": 285
  },
  "luminance": 0.09573
}

Semantic roles & 50–950 ramp

primary
#5646B2
secondary
#BCC490
accent
#D355C1
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5646B2

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

Preview Lab → · Contrast checker → · Palette generator →

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