#646278#646278

#646278 is a mid, muted blue. Relative luminance 0.128; OKLCH L 50.6% C 0.035 H 289.3°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#646278
RGBrgb(100, 98, 120)
HSLhsl(245, 10%, 43%)
HSVhsv(245, 18%, 47%)
CMYKcmyk(16.7%, 18.3%, 0%, 52.9%)
CIE-LABlab(42.46, 5.71, -12.04)
CIE-LCHlch(42.46, 13.32, 295.38°)
OKLaboklab(50.61% 0.0114 -0.0327)
OKLCHoklch(50.61% 0.035 289.3)
XYZxyz(13.0126, 12.8006, 19.5509)
Luminance0.1280 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646278 #767862
analogous
#626B78 #646278 #6F6278
triadic
#646278 #786462 #627864
tetradic
#646278 #78626B #767862 #62786F
square
#646278 #78626B #767862 #62786F
split-complementary
#646278 #786F62 #6B7862
monochromatic
#2C2B35 #484656 #646278 #828097 #A3A2B3

Accessibility & contrast

On white

5.90
#646278 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#646278 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646278
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646278#FFFFFF#000000##FFFFFF
##6462781.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #646278;
/* rgb */ color: rgb(100, 98, 120);
/* oklch */ color: oklch(50.6% 0.035 289.3);
Tailwind
colors: {
  custom: {
    50: '#908e9f',
    500: '#646278',
    950: '#000000',
  },
}
SCSS
$custom: #646278;
$custom-light: #908e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#646278",
  "rgb": {
    "r": 100,
    "g": 98,
    "b": 120
  },
  "hsl": {
    "h": 245.455,
    "s": 10.092,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50611,
    "c": 0.03467,
    "h": 289.3
  },
  "luminance": 0.12801
}

Semantic roles & 50–950 ramp

primary
#646278
secondary
#A1A294
accent
#B375AD
background
#F8F8F9
surface
#F0F0F2
border
#CBCBCC
text
#0C0C0E
muted
#7D7D7E

Preview Lab

Preview with #646278

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

Preview Lab → · Contrast checker → · Palette generator →

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