#5646C8#5646C8

#5646C8 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 49.0% C 0.193 H 282.2°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#5646C8
RGBrgb(86, 70, 200)
HSLhsl(247, 54%, 53%)
HSVhsv(247, 65%, 78%)
CMYKcmyk(57%, 65%, 0%, 21.6%)
CIE-LABlab(38.77, 42.55, -65.61)
CIE-LCHlch(38.77, 78.20, 302.96°)
OKLaboklab(49.02% 0.0407 -0.1887)
OKLCHoklch(49.02% 0.193 282.2)
XYZxyz(16.4500, 10.5278, 55.7976)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5646C8 #B8C846
analogous
#4677C8 #5646C8 #9746C8
triadic
#5646C8 #C85646 #46C856
tetradic
#5646C8 #C84677 #B8C846 #46C897
square
#5646C8 #C84677 #B8C846 #46C897
split-complementary
#5646C8 #C89746 #77C846
monochromatic
#2C2272 #3E30A1 #5646C8 #8175D6 #ACA4E4

Accessibility & contrast

On white

6.76
#5646C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#5646C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5646C8
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5646C8#FFFFFF#000000##FFFFFF
##5646C81.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#0057C5
Tritanopia (blue-blind)
#186781
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5646c8;
/* rgb */ color: rgb(86, 70, 200);
/* oklch */ color: oklch(49.0% 0.193 282.2);
Tailwind
colors: {
  custom: {
    50: '#917ada',
    500: '#5646c8',
    950: '#000000',
  },
}
SCSS
$custom: #5646c8;
$custom-light: #917ada;
$custom-dark: #000000;
JSON
{
  "hex": "#5646c8",
  "rgb": {
    "r": 86,
    "g": 70,
    "b": 200
  },
  "hsl": {
    "h": 247.385,
    "s": 54.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.49016,
    "c": 0.19302,
    "h": 282.2
  },
  "luminance": 0.10529
}

Semantic roles & 50–950 ramp

primary
#5646C8
secondary
#CAD199
accent
#DE4ACB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5646C8

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

Preview Lab → · Contrast checker → · Palette generator →

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