#646E98#646E98

#646E98 is a mid, moderate blue. Relative luminance 0.161; OKLCH L 54.7% C 0.067 H 273.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#646E98
RGBrgb(100, 110, 152)
HSLhsl(228, 21%, 49%)
HSVhsv(228, 34%, 60%)
CMYKcmyk(34.2%, 27.6%, 0%, 40.4%)
CIE-LABlab(47.14, 6.75, -24.03)
CIE-LCHlch(47.14, 24.96, 285.68°)
OKLaboklab(54.67% 0.0043 -0.0667)
OKLCHoklch(54.67% 0.067 273.7)
XYZxyz(16.4973, 16.1276, 31.9434)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646E98 #988E64
analogous
#648898 #646E98 #746498
triadic
#646E98 #98646E #6E9864
tetradic
#646E98 #986488 #988E64 #649874
square
#646E98 #986488 #988E64 #649874
split-complementary
#646E98 #987464 #889864
monochromatic
#33394E #4C5373 #646E98 #8890B1 #ADB3C9

Accessibility & contrast

On white

4.97
#646E98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#646E98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646E98
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646E98#FFFFFF#000000##FFFFFF
##646E981.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61729A
Deuteranopia (green-blind)
#5D6E97
Tritanopia (blue-blind)
#55767D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #646e98;
/* rgb */ color: rgb(100, 110, 152);
/* oklch */ color: oklch(54.7% 0.067 273.7);
Tailwind
colors: {
  custom: {
    50: '#9197b6',
    500: '#646e98',
    950: '#000000',
  },
}
SCSS
$custom: #646e98;
$custom-light: #9197b6;
$custom-dark: #000000;
JSON
{
  "hex": "#646e98",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 152
  },
  "hsl": {
    "h": 228.462,
    "s": 20.635,
    "l": 49.412
  },
  "oklch": {
    "l": 0.54674,
    "c": 0.06681,
    "h": 273.7
  },
  "luminance": 0.16128
}

Semantic roles & 50–950 ramp

primary
#646E98
secondary
#B8B3A0
accent
#AD6BBD
background
#F9F9FB
surface
#F1F2F6
border
#CBCCD0
text
#0D0D11
muted
#7E7E80

Preview Lab

Preview with #646E98

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

Preview Lab → · Contrast checker → · Palette generator →

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