#5646CC#5646CC

#5646CC is a mid, vivid blue. Relative luminance 0.107; OKLCH L 49.4% C 0.198 H 281.7°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#5646CC
RGBrgb(86, 70, 204)
HSLhsl(247, 57%, 54%)
HSVhsv(247, 66%, 80%)
CMYKcmyk(57.8%, 65.7%, 0%, 20%)
CIE-LABlab(39.10, 43.79, -67.40)
CIE-LCHlch(39.10, 80.37, 303.01°)
OKLaboklab(49.35% 0.0403 -0.1939)
OKLCHoklch(49.35% 0.198 281.7)
XYZxyz(16.9236, 10.7173, 58.2919)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5646CC #BCCC46
analogous
#4679CC #5646CC #9946CC
triadic
#5646CC #CC5646 #46CC56
tetradic
#5646CC #CC4679 #BCCC46 #46CC99
square
#5646CC #CC4679 #BCCC46 #46CC99
split-complementary
#5646CC #CC9946 #79CC46
monochromatic
#2B2177 #3C2EA7 #5646CC #8276D9 #AEA6E6

Accessibility & contrast

On white

6.68
#5646CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#5646CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5646CC
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5646CC#FFFFFF#000000##FFFFFF
##5646CC1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#0057C9
Tritanopia (blue-blind)
#0D6883
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5646cc;
/* rgb */ color: rgb(86, 70, 204);
/* oklch */ color: oklch(49.4% 0.198 281.7);
Tailwind
colors: {
  custom: {
    50: '#917bdd',
    500: '#5646cc',
    950: '#000000',
  },
}
SCSS
$custom: #5646cc;
$custom-light: #917bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5646cc",
  "rgb": {
    "r": 86,
    "g": 70,
    "b": 204
  },
  "hsl": {
    "h": 247.164,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49354,
    "c": 0.19807,
    "h": 281.7
  },
  "luminance": 0.10718
}

Semantic roles & 50–950 ramp

primary
#5646CC
secondary
#CDD49A
accent
#E048CE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5646CC

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

Preview Lab → · Contrast checker → · Palette generator →

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