#646BAD#646BAD

#646BAD is a mid, moderate blue. Relative luminance 0.162; OKLCH L 55.1% C 0.103 H 277.9°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#646BAD
RGBrgb(100, 107, 173)
HSLhsl(234, 31%, 54%)
HSVhsv(234, 42%, 68%)
CMYKcmyk(42.2%, 38.2%, 0%, 32.2%)
CIE-LABlab(47.29, 14.62, -36.13)
CIE-LCHlch(47.29, 38.98, 292.03°)
OKLaboklab(55.11% 0.014 -0.1016)
OKLCHoklch(55.11% 0.103 277.9)
XYZxyz(18.0538, 16.2410, 41.7106)
Luminance0.1624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646BAD #ADA664
analogous
#648FAD #646BAD #8164AD
triadic
#646BAD #AD646B #6BAD64
tetradic
#646BAD #AD648F #ADA664 #64AD81
square
#646BAD #AD648F #ADA664 #64AD81
split-complementary
#646BAD #AD8164 #8FAD64
monochromatic
#343962 #49508B #646BAD #8C91C2 #B4B7D7

Accessibility & contrast

On white

4.94
#646BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#646BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646BAD
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646BAD#FFFFFF#000000##FFFFFF
##646BAD1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5473B0
Deuteranopia (green-blind)
#4F6DAB
Tritanopia (blue-blind)
#4D7884
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #646bad;
/* rgb */ color: rgb(100, 107, 173);
/* oklch */ color: oklch(55.1% 0.103 277.9);
Tailwind
colors: {
  custom: {
    50: '#9395c6',
    500: '#646bad',
    950: '#000000',
  },
}
SCSS
$custom: #646bad;
$custom-light: #9395c6;
$custom-dark: #000000;
JSON
{
  "hex": "#646bad",
  "rgb": {
    "r": 100,
    "g": 107,
    "b": 173
  },
  "hsl": {
    "h": 234.247,
    "s": 30.802,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55108,
    "c": 0.1026,
    "h": 277.9
  },
  "luminance": 0.16242
}

Semantic roles & 50–950 ramp

primary
#646BAD
secondary
#C6C3A7
accent
#BD61C7
background
#F9F9FC
surface
#F2F1F8
border
#CCCBD1
text
#0D0D13
muted
#7E7E82

Preview Lab

Preview with #646BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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