#646AAA#646AAA

#646AAA is a mid, moderate blue. Relative luminance 0.159; OKLCH L 54.7% C 0.100 H 278.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#646AAA
RGBrgb(100, 106, 170)
HSLhsl(235, 29%, 53%)
HSVhsv(235, 41%, 67%)
CMYKcmyk(41.2%, 37.6%, 0%, 33.3%)
CIE-LABlab(46.87, 14.35, -35.04)
CIE-LCHlch(46.87, 37.87, 292.26°)
OKLaboklab(54.74% 0.0147 -0.0985)
OKLCHoklch(54.74% 0.1 278.5)
XYZxyz(17.6631, 15.9189, 40.1644)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646AAA #AAA464
analogous
#648DAA #646AAA #8164AA
triadic
#646AAA #AA646A #6AAA64
tetradic
#646AAA #AA648D #AAA464 #64AA81
square
#646AAA #AA648D #AAA464 #64AA81
split-complementary
#646AAA #AA8164 #8DAA64
monochromatic
#34385F #4A4F87 #646AAA #8C90C0 #B3B6D5

Accessibility & contrast

On white

5.02
#646AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#646AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646AAA
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646AAA#FFFFFF#000000##FFFFFF
##646AAA1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5472AD
Deuteranopia (green-blind)
#506DA8
Tritanopia (blue-blind)
#4E7782
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #646aaa;
/* rgb */ color: rgb(100, 106, 170);
/* oklch */ color: oklch(54.7% 0.100 278.5);
Tailwind
colors: {
  custom: {
    50: '#9394c3',
    500: '#646aaa',
    950: '#000000',
  },
}
SCSS
$custom: #646aaa;
$custom-light: #9394c3;
$custom-dark: #000000;
JSON
{
  "hex": "#646aaa",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 170
  },
  "hsl": {
    "h": 234.857,
    "s": 29.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54736,
    "c": 0.09955,
    "h": 278.5
  },
  "luminance": 0.1592
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #646AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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