#646DA1#646DA1

#646DA1 is a mid, moderate blue. Relative luminance 0.162; OKLCH L 54.9% C 0.082 H 275.9°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#646DA1
RGBrgb(100, 109, 161)
HSLhsl(231, 24%, 51%)
HSVhsv(231, 38%, 63%)
CMYKcmyk(37.9%, 32.3%, 0%, 36.9%)
CIE-LABlab(47.26, 9.89, -29.15)
CIE-LCHlch(47.26, 30.78, 288.75°)
OKLaboklab(54.9% 0.0083 -0.0814)
OKLCHoklch(54.9% 0.082 275.9)
XYZxyz(17.1553, 16.2191, 35.9380)
Luminance0.1622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646DA1 #A19864
analogous
#648BA1 #646DA1 #7964A1
triadic
#646DA1 #A1646D #6DA164
tetradic
#646DA1 #A1648B #A19864 #64A179
square
#646DA1 #A1648B #A19864 #64A179
split-complementary
#646DA1 #A17964 #8BA164
monochromatic
#343956 #4B537C #646DA1 #8A91B8 #B0B5CF

Accessibility & contrast

On white

4.95
#646DA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#646DA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646DA1
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646DA1#FFFFFF#000000##FFFFFF
##646DA11.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C73A3
Deuteranopia (green-blind)
#586EA0
Tritanopia (blue-blind)
#527780
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #646da1;
/* rgb */ color: rgb(100, 109, 161);
/* oklch */ color: oklch(54.9% 0.082 275.9);
Tailwind
colors: {
  custom: {
    50: '#9296bd',
    500: '#646da1',
    950: '#000000',
  },
}
SCSS
$custom: #646da1;
$custom-light: #9296bd;
$custom-dark: #000000;
JSON
{
  "hex": "#646da1",
  "rgb": {
    "r": 100,
    "g": 109,
    "b": 161
  },
  "hsl": {
    "h": 231.148,
    "s": 24.498,
    "l": 51.176
  },
  "oklch": {
    "l": 0.54897,
    "c": 0.08181,
    "h": 275.9
  },
  "luminance": 0.1622
}

Semantic roles & 50–950 ramp

primary
#646DA1
secondary
#BEBAA3
accent
#B467C1
background
#F9F9FB
surface
#F1F2F6
border
#CBCCD0
text
#0D0D12
muted
#7E7E81

Preview Lab

Preview with #646DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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