#5646AF#5646AF

#5646AF is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.0% C 0.161 H 285.4°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#5646AF
RGBrgb(86, 70, 175)
HSLhsl(249, 43%, 48%)
HSVhsv(249, 60%, 69%)
CMYKcmyk(50.9%, 60%, 0%, 31.4%)
CIE-LABlab(36.84, 34.79, -54.07)
CIE-LCHlch(36.84, 64.30, 302.76°)
OKLaboklab(47% 0.0426 -0.1548)
OKLCHoklch(47% 0.161 285.4)
XYZxyz(13.7635, 9.4532, 41.6486)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5646AF #9FAF46
analogous
#466AAF #5646AF #8A46AF
triadic
#5646AF #AF5646 #46AF56
tetradic
#5646AF #AF466A #9FAF46 #46AF8A
square
#5646AF #AF466A #9FAF46 #46AF8A
split-complementary
#5646AF #AF8A46 #6AAF46
monochromatic
#2B2358 #413583 #5646AF #7B6DC5 #A299D6

Accessibility & contrast

On white

7.26
#5646AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#5646AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5646AF#FFFFFF#000000##FFFFFF
##5646AF1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB2
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#355E74
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5646af;
/* rgb */ color: rgb(86, 70, 175);
/* oklch */ color: oklch(47.0% 0.161 285.4);
Tailwind
colors: {
  custom: {
    50: '#8d7ac8',
    500: '#5646af',
    950: '#000000',
  },
}
SCSS
$custom: #5646af;
$custom-light: #8d7ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#5646af",
  "rgb": {
    "r": 86,
    "g": 70,
    "b": 175
  },
  "hsl": {
    "h": 249.143,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47002,
    "c": 0.16052,
    "h": 285.4
  },
  "luminance": 0.09454
}

Semantic roles & 50–950 ramp

primary
#5646AF
secondary
#BAC28E
accent
#D355C0
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5646AF

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

Preview Lab → · Contrast checker → · Palette generator →

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