#646178#646178

#646178 is a mid, muted blue. Relative luminance 0.126; OKLCH L 50.4% C 0.036 H 291.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#646178
RGBrgb(100, 97, 120)
HSLhsl(248, 11%, 43%)
HSVhsv(248, 19%, 47%)
CMYKcmyk(16.7%, 19.2%, 0%, 52.9%)
CIE-LABlab(42.18, 6.32, -12.47)
CIE-LCHlch(42.18, 13.98, 296.88°)
OKLaboklab(50.39% 0.013 -0.0339)
OKLCHoklch(50.39% 0.036 291)
XYZxyz(12.9196, 12.6147, 19.5199)
Luminance0.1262 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646178 #757861
analogous
#616A78 #646178 #6F6178
triadic
#646178 #786461 #617864
tetradic
#646178 #78616A #757861 #61786F
square
#646178 #78616A #757861 #61786F
split-complementary
#646178 #786F61 #6A7861
monochromatic
#2C2A34 #484656 #646178 #827F97 #A3A1B3

Accessibility & contrast

On white

5.96
#646178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#646178 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646178
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646178#FFFFFF#000000##FFFFFF
##6461781.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6479
Deuteranopia (green-blind)
#5C6377
Tritanopia (blue-blind)
#606569
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #646178;
/* rgb */ color: rgb(100, 97, 120);
/* oklch */ color: oklch(50.4% 0.036 291.0);
Tailwind
colors: {
  custom: {
    50: '#908d9f',
    500: '#646178',
    950: '#000000',
  },
}
SCSS
$custom: #646178;
$custom-light: #908d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#646178",
  "rgb": {
    "r": 100,
    "g": 97,
    "b": 120
  },
  "hsl": {
    "h": 247.826,
    "s": 10.599,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50389,
    "c": 0.03634,
    "h": 291
  },
  "luminance": 0.12615
}

Semantic roles & 50–950 ramp

primary
#646178
secondary
#A0A293
accent
#B474AB
background
#F8F8F9
surface
#F0F0F2
border
#CBCBCC
text
#0C0C0E
muted
#7D7D7E

Preview Lab

Preview with #646178

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

Preview Lab → · Contrast checker → · Palette generator →

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