#646CAA#646CAA

#646CAA is a mid, moderate blue. Relative luminance 0.163; OKLCH L 55.2% C 0.097 H 277.1°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#646CAA
RGBrgb(100, 108, 170)
HSLhsl(233, 29%, 53%)
HSVhsv(233, 41%, 67%)
CMYKcmyk(41.2%, 36.5%, 0%, 33.3%)
CIE-LABlab(47.41, 13.12, -34.19)
CIE-LCHlch(47.41, 36.62, 290.99°)
OKLaboklab(55.15% 0.012 -0.096)
OKLCHoklch(55.15% 0.097 277.1)
XYZxyz(17.8716, 16.3359, 40.2339)
Luminance0.1634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CAA #AAA264
analogous
#648FAA #646CAA #7F64AA
triadic
#646CAA #AA646C #6CAA64
tetradic
#646CAA #AA648F #AAA264 #64AA7F
square
#646CAA #AA648F #AAA264 #64AA7F
split-complementary
#646CAA #AA7F64 #8FAA64
monochromatic
#34395F #4A5187 #646CAA #8C91C0 #B3B7D5

Accessibility & contrast

On white

4.92
#646CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#646CAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646CAA
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CAA#FFFFFF#000000##FFFFFF
##646CAA1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5773AC
Deuteranopia (green-blind)
#526EA9
Tritanopia (blue-blind)
#4E7883
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #646caa;
/* rgb */ color: rgb(100, 108, 170);
/* oklch */ color: oklch(55.2% 0.097 277.1);
Tailwind
colors: {
  custom: {
    50: '#9396c3',
    500: '#646caa',
    950: '#000000',
  },
}
SCSS
$custom: #646caa;
$custom-light: #9396c3;
$custom-dark: #000000;
JSON
{
  "hex": "#646caa",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 170
  },
  "hsl": {
    "h": 233.143,
    "s": 29.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.55154,
    "c": 0.09672,
    "h": 277.1
  },
  "luminance": 0.16337
}

Semantic roles & 50–950 ramp

primary
#646CAA
secondary
#C4C1A6
accent
#BA62C5
background
#F9F9FC
surface
#F2F1F8
border
#CCCBD1
text
#0D0D12
muted
#7E7E81

Preview Lab

Preview with #646CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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