#5646AC#5646AC

#5646AC is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.8% C 0.157 H 285.8°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#5646AC
RGBrgb(86, 70, 172)
HSLhsl(249, 42%, 47%)
HSVhsv(249, 59%, 67%)
CMYKcmyk(50%, 59.3%, 0%, 32.5%)
CIE-LABlab(36.62, 33.87, -52.64)
CIE-LCHlch(36.62, 62.60, 302.75°)
OKLaboklab(46.77% 0.0427 -0.1506)
OKLCHoklch(46.77% 0.157 285.8)
XYZxyz(13.4721, 9.3367, 40.1140)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5646AC #9CAC46
analogous
#4669AC #5646AC #8946AC
triadic
#5646AC #AC5646 #46AC56
tetradic
#5646AC #AC4669 #9CAC46 #46AC89
square
#5646AC #AC4669 #9CAC46 #46AC89
split-complementary
#5646AC #AC8946 #69AC46
monochromatic
#2B2355 #403481 #5646AC #7A6CC3 #A198D5

Accessibility & contrast

On white

7.32
#5646AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#5646AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5646AC
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5646AC#FFFFFF#000000##FFFFFF
##5646AC1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AF
Deuteranopia (green-blind)
#0053AA
Tritanopia (blue-blind)
#375D72
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5646ac;
/* rgb */ color: rgb(86, 70, 172);
/* oklch */ color: oklch(46.8% 0.157 285.8);
Tailwind
colors: {
  custom: {
    50: '#8c7ac5',
    500: '#5646ac',
    950: '#000000',
  },
}
SCSS
$custom: #5646ac;
$custom-light: #8c7ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#5646ac",
  "rgb": {
    "r": 86,
    "g": 70,
    "b": 172
  },
  "hsl": {
    "h": 249.412,
    "s": 42.149,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46773,
    "c": 0.1565,
    "h": 285.8
  },
  "luminance": 0.09337
}

Semantic roles & 50–950 ramp

primary
#5646AC
secondary
#B9C18D
accent
#D256BE
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5646AC

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

Preview Lab → · Contrast checker → · Palette generator →

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