#646FA4#646FA4

#646FA4 is a mid, moderate blue. Relative luminance 0.168; OKLCH L 55.5% C 0.084 H 274.4°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#646FA4
RGBrgb(100, 111, 164)
HSLhsl(230, 26%, 52%)
HSVhsv(230, 39%, 64%)
CMYKcmyk(39%, 32.3%, 0%, 35.7%)
CIE-LABlab(47.95, 9.54, -29.83)
CIE-LCHlch(47.95, 31.31, 287.73°)
OKLaboklab(55.48% 0.0064 -0.0833)
OKLCHoklch(55.48% 0.084 274.4)
XYZxyz(17.6388, 16.7578, 37.4199)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646FA4 #A49964
analogous
#648FA4 #646FA4 #7964A4
triadic
#646FA4 #A4646F #6FA464
tetradic
#646FA4 #A4648F #A49964 #64A479
square
#646FA4 #A4648F #A49964 #64A479
split-complementary
#646FA4 #A47964 #8FA464
monochromatic
#343B59 #4B5480 #646FA4 #8B93BB #B1B7D1

Accessibility & contrast

On white

4.83
#646FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#646FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646FA4
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646FA4#FFFFFF#000000##FFFFFF
##646FA41.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D75A6
Deuteranopia (green-blind)
#596FA3
Tritanopia (blue-blind)
#517982
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #646fa4;
/* rgb */ color: rgb(100, 111, 164);
/* oklch */ color: oklch(55.5% 0.084 274.4);
Tailwind
colors: {
  custom: {
    50: '#9298bf',
    500: '#646fa4',
    950: '#000000',
  },
}
SCSS
$custom: #646fa4;
$custom-light: #9298bf;
$custom-dark: #000000;
JSON
{
  "hex": "#646fa4",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 164
  },
  "hsl": {
    "h": 229.688,
    "s": 26.016,
    "l": 51.765
  },
  "oklch": {
    "l": 0.55478,
    "c": 0.08359,
    "h": 274.4
  },
  "luminance": 0.16759
}

Semantic roles & 50–950 ramp

primary
#646FA4
secondary
#C0BBA4
accent
#B265C2
background
#F9F9FB
surface
#F1F2F7
border
#CBCCD0
text
#0D0D12
muted
#7E7E81

Preview Lab

Preview with #646FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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