#646AA1#646AA1

#646AA1 is a mid, moderate blue. Relative luminance 0.156; OKLCH L 54.3% C 0.086 H 278.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#646AA1
RGBrgb(100, 106, 161)
HSLhsl(234, 24%, 51%)
HSVhsv(234, 38%, 63%)
CMYKcmyk(37.9%, 34.2%, 0%, 36.9%)
CIE-LABlab(46.43, 11.73, -30.44)
CIE-LCHlch(46.43, 32.62, 291.07°)
OKLaboklab(54.26% 0.0125 -0.0851)
OKLCHoklch(54.26% 0.086 278.4)
XYZxyz(16.8407, 15.5900, 35.8331)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646AA1 #A19B64
analogous
#6488A1 #646AA1 #7C64A1
triadic
#646AA1 #A1646A #6AA164
tetradic
#646AA1 #A16488 #A19B64 #64A17C
square
#646AA1 #A16488 #A19B64 #64A17C
split-complementary
#646AA1 #A17C64 #88A164
monochromatic
#343856 #4B507C #646AA1 #8A8FB8 #B0B3CF

Accessibility & contrast

On white

5.10
#646AA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#646AA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646AA1
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646AA1#FFFFFF#000000##FFFFFF
##646AA11.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5870A3
Deuteranopia (green-blind)
#546CA0
Tritanopia (blue-blind)
#52757E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #646aa1;
/* rgb */ color: rgb(100, 106, 161);
/* oklch */ color: oklch(54.3% 0.086 278.4);
Tailwind
colors: {
  custom: {
    50: '#9294bd',
    500: '#646aa1',
    950: '#000000',
  },
}
SCSS
$custom: #646aa1;
$custom-light: #9294bd;
$custom-dark: #000000;
JSON
{
  "hex": "#646aa1",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 161
  },
  "hsl": {
    "h": 234.098,
    "s": 24.498,
    "l": 51.176
  },
  "oklch": {
    "l": 0.54257,
    "c": 0.08603,
    "h": 278.4
  },
  "luminance": 0.15591
}

Semantic roles & 50–950 ramp

primary
#646AA1
secondary
#BEBBA3
accent
#B867C1
background
#F9F9FB
surface
#F1F1F6
border
#CBCBD0
text
#0D0D12
muted
#7E7E81

Preview Lab

Preview with #646AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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