#646878#646878

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

Color values

HEX#646878
RGBrgb(100, 104, 120)
HSLhsl(228, 9%, 43%)
HSVhsv(228, 17%, 47%)
CMYKcmyk(16.7%, 13.3%, 0%, 52.9%)
CIE-LABlab(44.18, 2.08, -9.44)
CIE-LCHlch(44.18, 9.66, 282.40°)
OKLaboklab(51.96% 0.002 -0.0256)
OKLCHoklch(51.96% 0.026 274.4)
XYZxyz(13.5952, 13.9658, 19.7451)
Luminance0.1397 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646878 #787464
analogous
#647278 #646878 #6A6478
triadic
#646878 #786468 #687864
tetradic
#646878 #786472 #787464 #64786A
square
#646878 #786472 #787464 #64786A
split-complementary
#646878 #786A64 #727864
monochromatic
#2C2E35 #484B57 #646878 #828697 #A4A7B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##646878#FFFFFF#000000##FFFFFF
##6468781.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)
#646979
Deuteranopia (green-blind)
#626878
Tritanopia (blue-blind)
#606B6D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #646878;
/* rgb */ color: rgb(100, 104, 120);
/* oklch */ color: oklch(52.0% 0.026 274.4);
Tailwind
colors: {
  custom: {
    50: '#90939f',
    500: '#646878',
    950: '#000000',
  },
}
SCSS
$custom: #646878;
$custom-light: #90939f;
$custom-dark: #000000;
JSON
{
  "hex": "#646878",
  "rgb": {
    "r": 100,
    "g": 104,
    "b": 120
  },
  "hsl": {
    "h": 228,
    "s": 9.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51956,
    "c": 0.02565,
    "h": 274.4
  },
  "luminance": 0.13966
}

Semantic roles & 50–950 ramp

primary
#646878
secondary
#A2A096
accent
#A676B2
background
#F8F9F9
surface
#F0F1F2
border
#CBCBCC
text
#0C0D0E
muted
#7D7E7E

Preview Lab

Preview with #646878

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

Preview Lab → · Contrast checker → · Palette generator →

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