#646FAE#646FAE

#646FAE is a mid, moderate blue. Relative luminance 0.171; OKLCH L 56.0% C 0.099 H 275.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#646FAE
RGBrgb(100, 111, 174)
HSLhsl(231, 31%, 54%)
HSVhsv(231, 43%, 68%)
CMYKcmyk(42.5%, 36.2%, 0%, 31.8%)
CIE-LABlab(48.43, 12.47, -34.93)
CIE-LCHlch(48.43, 37.08, 289.64°)
OKLaboklab(56% 0.009 -0.0981)
OKLCHoklch(56% 0.099 275.2)
XYZxyz(18.5776, 17.1333, 42.3644)
Luminance0.1713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646FAE #AEA364
analogous
#6494AE #646FAE #7E64AE
triadic
#646FAE #AE646F #6FAE64
tetradic
#646FAE #AE6494 #AEA364 #64AE7E
square
#646FAE #AE6494 #AEA364 #64AE7E
split-complementary
#646FAE #AE7E64 #94AE64
monochromatic
#343B64 #49538C #646FAE #8C94C3 #B4BAD8

Accessibility & contrast

On white

4.74
#646FAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#646FAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646FAE
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646FAE#FFFFFF#000000##FFFFFF
##646FAE1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5976B1
Deuteranopia (green-blind)
#5370AD
Tritanopia (blue-blind)
#4C7C86
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #646fae;
/* rgb */ color: rgb(100, 111, 174);
/* oklch */ color: oklch(56.0% 0.099 275.2);
Tailwind
colors: {
  custom: {
    50: '#9398c6',
    500: '#646fae',
    950: '#000000',
  },
}
SCSS
$custom: #646fae;
$custom-light: #9398c6;
$custom-dark: #000000;
JSON
{
  "hex": "#646fae",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 174
  },
  "hsl": {
    "h": 231.081,
    "s": 31.356,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56,
    "c": 0.09851,
    "h": 275.2
  },
  "luminance": 0.17134
}

Semantic roles & 50–950 ramp

primary
#646FAE
secondary
#C7C2A7
accent
#B860C8
background
#F9F9FC
surface
#F2F2F8
border
#CCCCD1
text
#0D0D13
muted
#7E7E82

Preview Lab

Preview with #646FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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