#646687#646687

#646687 is a mid, muted blue. Relative luminance 0.140; OKLCH L 52.1% C 0.052 H 281.7°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#646687
RGBrgb(100, 102, 135)
HSLhsl(237, 15%, 46%)
HSVhsv(237, 26%, 53%)
CMYKcmyk(25.9%, 24.4%, 0%, 47.1%)
CIE-LABlab(44.18, 7.04, -18.48)
CIE-LCHlch(44.18, 19.77, 290.85°)
OKLaboklab(52.14% 0.0106 -0.0508)
OKLCHoklch(52.14% 0.052 281.7)
XYZxyz(14.3790, 13.9610, 24.8541)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646687 #878564
analogous
#647787 #646687 #736487
triadic
#646687 #876466 #668764
tetradic
#646687 #876477 #878564 #648773
square
#646687 #876477 #878564 #648773
split-complementary
#646687 #877364 #778764
monochromatic
#303141 #4A4B64 #646687 #8486A4 #A7A9BE

Accessibility & contrast

On white

5.54
#646687 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#646687 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646687
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646687#FFFFFF#000000##FFFFFF
##6466871.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6A88
Deuteranopia (green-blind)
#5C6786
Tritanopia (blue-blind)
#5C6C71
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #646687;
/* rgb */ color: rgb(100, 102, 135);
/* oklch */ color: oklch(52.1% 0.052 281.7);
Tailwind
colors: {
  custom: {
    50: '#9191aa',
    500: '#646687',
    950: '#000000',
  },
}
SCSS
$custom: #646687;
$custom-light: #9191aa;
$custom-dark: #000000;
JSON
{
  "hex": "#646687",
  "rgb": {
    "r": 100,
    "g": 102,
    "b": 135
  },
  "hsl": {
    "h": 236.571,
    "s": 14.894,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52137,
    "c": 0.05192,
    "h": 281.7
  },
  "luminance": 0.13961
}

Semantic roles & 50–950 ramp

primary
#646687
secondary
#ADAC9A
accent
#B470B8
background
#F8F8FA
surface
#F0F0F4
border
#CBCBCE
text
#0C0C10
muted
#7D7D7F

Preview Lab

Preview with #646687

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

Preview Lab → · Contrast checker → · Palette generator →

#646687 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva