#646478#646478

#646478 is a mid, muted blue. Relative luminance 0.132; OKLCH L 51.1% C 0.031 H 285.2°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#646478
RGBrgb(100, 100, 120)
HSLhsl(240, 9%, 43%)
HSVhsv(240, 17%, 47%)
CMYKcmyk(16.7%, 16.7%, 0%, 52.9%)
CIE-LABlab(43.03, 4.49, -11.17)
CIE-LCHlch(43.03, 12.04, 291.90°)
OKLaboklab(51.06% 0.0083 -0.0303)
OKLCHoklch(51.06% 0.031 285.2)
XYZxyz(13.2021, 13.1796, 19.6140)
Luminance0.1318 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646478 #787864
analogous
#646E78 #646478 #6E6478
triadic
#646478 #786464 #647864
tetradic
#646478 #78646E #787864 #64786E
square
#646478 #78646E #787864 #64786E
split-complementary
#646478 #786E64 #6E7864
monochromatic
#2C2C35 #484857 #646478 #828297 #A4A4B3

Accessibility & contrast

On white

5.78
#646478 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#646478 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646478
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646478#FFFFFF#000000##FFFFFF
##6464781.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6679
Deuteranopia (green-blind)
#5F6577
Tritanopia (blue-blind)
#60676B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #646478;
/* rgb */ color: rgb(100, 100, 120);
/* oklch */ color: oklch(51.1% 0.031 285.2);
Tailwind
colors: {
  custom: {
    50: '#90909f',
    500: '#646478',
    950: '#000000',
  },
}
SCSS
$custom: #646478;
$custom-light: #90909f;
$custom-dark: #000000;
JSON
{
  "hex": "#646478",
  "rgb": {
    "r": 100,
    "g": 100,
    "b": 120
  },
  "hsl": {
    "h": 240,
    "s": 9.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51056,
    "c": 0.03144,
    "h": 285.2
  },
  "luminance": 0.1318
}

Semantic roles & 50–950 ramp

primary
#646478
secondary
#A2A296
accent
#B276B2
background
#F8F8F9
surface
#F0F0F2
border
#CBCBCC
text
#0C0C0E
muted
#7D7D7E

Preview Lab

Preview with #646478

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

Preview Lab → · Contrast checker → · Palette generator →

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