#646CA4#646CA4

#646CA4 is a mid, moderate blue. Relative luminance 0.161; OKLCH L 54.8% C 0.088 H 276.9°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#646CA4
RGBrgb(100, 108, 164)
HSLhsl(233, 26%, 52%)
HSVhsv(233, 39%, 64%)
CMYKcmyk(39%, 34.1%, 0%, 35.7%)
CIE-LABlab(47.12, 11.37, -31.12)
CIE-LCHlch(47.12, 33.13, 290.06°)
OKLaboklab(54.84% 0.0105 -0.0871)
OKLCHoklch(54.84% 0.088 276.9)
XYZxyz(17.3170, 16.1141, 37.3127)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CA4 #A49C64
analogous
#648CA4 #646CA4 #7C64A4
triadic
#646CA4 #A4646C #6CA464
tetradic
#646CA4 #A4648C #A49C64 #64A47C
square
#646CA4 #A4648C #A49C64 #64A47C
split-complementary
#646CA4 #A47C64 #8CA464
monochromatic
#343959 #4B5280 #646CA4 #8B91BB #B1B5D1

Accessibility & contrast

On white

4.97
#646CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#646CA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646CA4
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CA4#FFFFFF#000000##FFFFFF
##646CA41.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A72A6
Deuteranopia (green-blind)
#556DA3
Tritanopia (blue-blind)
#517780
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #646ca4;
/* rgb */ color: rgb(100, 108, 164);
/* oklch */ color: oklch(54.8% 0.088 276.9);
Tailwind
colors: {
  custom: {
    50: '#9296bf',
    500: '#646ca4',
    950: '#000000',
  },
}
SCSS
$custom: #646ca4;
$custom-light: #9296bf;
$custom-dark: #000000;
JSON
{
  "hex": "#646ca4",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 164
  },
  "hsl": {
    "h": 232.5,
    "s": 26.016,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54837,
    "c": 0.08772,
    "h": 276.9
  },
  "luminance": 0.16115
}

Semantic roles & 50–950 ramp

primary
#646CA4
secondary
#C0BCA4
accent
#B765C2
background
#F9F9FB
surface
#F1F1F7
border
#CBCBD0
text
#0D0D12
muted
#7E7E81

Preview Lab

Preview with #646CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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