#5646AA#5646AA

#5646AA is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.6% C 0.154 H 286.1°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#5646AA
RGBrgb(86, 70, 170)
HSLhsl(250, 42%, 47%)
HSVhsv(250, 59%, 67%)
CMYKcmyk(49.4%, 58.8%, 0%, 33.3%)
CIE-LABlab(36.48, 33.25, -51.69)
CIE-LCHlch(36.48, 61.46, 302.75°)
OKLaboklab(46.62% 0.0427 -0.1477)
OKLCHoklch(46.62% 0.154 286.1)
XYZxyz(13.2815, 9.2604, 39.1100)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5646AA #9AAA46
analogous
#4668AA #5646AA #8846AA
triadic
#5646AA #AA5646 #46AA56
tetradic
#5646AA #AA4668 #9AAA46 #46AA88
square
#5646AA #AA4668 #9AAA46 #46AA88
split-complementary
#5646AA #AA8846 #68AA46
monochromatic
#2A2253 #40347F #5646AA #796BC2 #A096D4

Accessibility & contrast

On white

7.36
#5646AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#5646AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5646AA#FFFFFF#000000##FFFFFF
##5646AA1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#0053A8
Tritanopia (blue-blind)
#395D71
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5646aa;
/* rgb */ color: rgb(86, 70, 170);
/* oklch */ color: oklch(46.6% 0.154 286.1);
Tailwind
colors: {
  custom: {
    50: '#8c7ac4',
    500: '#5646aa',
    950: '#000000',
  },
}
SCSS
$custom: #5646aa;
$custom-light: #8c7ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#5646aa",
  "rgb": {
    "r": 86,
    "g": 70,
    "b": 170
  },
  "hsl": {
    "h": 249.6,
    "s": 41.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.46621,
    "c": 0.1538,
    "h": 286.1
  },
  "luminance": 0.09261
}

Semantic roles & 50–950 ramp

primary
#5646AA
secondary
#B8C08C
accent
#D156BE
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5646AA

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

Preview Lab → · Contrast checker → · Palette generator →

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