#646C78#646C78

#646C78 is a mid, muted blue. Relative luminance 0.148; OKLCH L 52.9% C 0.021 H 258.4°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#646C78
RGBrgb(100, 108, 120)
HSLhsl(216, 9%, 43%)
HSVhsv(216, 17%, 47%)
CMYKcmyk(16.7%, 10%, 0%, 52.9%)
CIE-LABlab(45.35, -0.32, -7.70)
CIE-LCHlch(45.35, 7.70, 267.65°)
OKLaboklab(52.87% -0.0043 -0.0208)
OKLCHoklch(52.87% 0.021 258.4)
XYZxyz(14.0074, 14.7903, 19.8825)
Luminance0.1479 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646C78 #787064
analogous
#647678 #646C78 #666478
triadic
#646C78 #78646C #6C7864
tetradic
#646C78 #786476 #787064 #647866
square
#646C78 #786476 #787064 #647866
split-complementary
#646C78 #786664 #767864
monochromatic
#2C3035 #484E57 #646C78 #828B97 #A4AAB3

Accessibility & contrast

On white

5.31
#646C78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#646C78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646C78
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646C78#FFFFFF#000000##FFFFFF
##646C781.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#686C79
Deuteranopia (green-blind)
#666A78
Tritanopia (blue-blind)
#5F6E70
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #646c78;
/* rgb */ color: rgb(100, 108, 120);
/* oklch */ color: oklch(52.9% 0.021 258.4);
Tailwind
colors: {
  custom: {
    50: '#90969f',
    500: '#646c78',
    950: '#000000',
  },
}
SCSS
$custom: #646c78;
$custom-light: #90969f;
$custom-dark: #000000;
JSON
{
  "hex": "#646c78",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 120
  },
  "hsl": {
    "h": 216,
    "s": 9.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52866,
    "c": 0.02126,
    "h": 258.4
  },
  "luminance": 0.14791
}

Semantic roles & 50–950 ramp

primary
#646C78
secondary
#A29D96
accent
#9A76B2
background
#F8F9F9
surface
#F0F1F2
border
#CBCBCC
text
#0C0D0E
muted
#7D7E7E

Preview Lab

Preview with #646C78

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

Preview Lab → · Contrast checker → · Palette generator →

#646C78 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva