#646DC4#646DC4

#646DC4 is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.9% C 0.133 H 276.8°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#646DC4
RGBrgb(100, 109, 196)
HSLhsl(234, 45%, 58%)
HSVhsv(234, 49%, 77%)
CMYKcmyk(49%, 44.4%, 0%, 23.1%)
CIE-LABlab(49.05, 20.38, -46.68)
CIE-LCHlch(49.05, 50.93, 293.59°)
OKLaboklab(56.85% 0.0158 -0.1324)
OKLCHoklch(56.85% 0.133 276.8)
XYZxyz(20.6849, 17.6309, 54.5270)
Luminance0.1763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646DC4 #C4BB64
analogous
#649DC4 #646DC4 #8B64C4
triadic
#646DC4 #C4646D #6DC464
tetradic
#646DC4 #C4649D #C4BB64 #64C48B
square
#646DC4 #C4649D #C4BB64 #64C48B
split-complementary
#646DC4 #C48B64 #9DC464
monochromatic
#30377E #414BAA #646DC4 #9097D5 #BDC1E6

Accessibility & contrast

On white

4.64
#646DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#646DC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #646DC4
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646DC4#FFFFFF#000000##FFFFFF
##646DC41.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4979C7
Deuteranopia (green-blind)
#4171C2
Tritanopia (blue-blind)
#3F7F8F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #646dc4;
/* rgb */ color: rgb(100, 109, 196);
/* oklch */ color: oklch(56.9% 0.133 276.8);
Tailwind
colors: {
  custom: {
    50: '#9696d6',
    500: '#646dc4',
    950: '#000000',
  },
}
SCSS
$custom: #646dc4;
$custom-light: #9696d6;
$custom-dark: #000000;
JSON
{
  "hex": "#646dc4",
  "rgb": {
    "r": 100,
    "g": 109,
    "b": 196
  },
  "hsl": {
    "h": 234.375,
    "s": 44.86,
    "l": 58.039
  },
  "oklch": {
    "l": 0.5685,
    "c": 0.13335,
    "h": 276.8
  },
  "luminance": 0.17632
}

Semantic roles & 50–950 ramp

primary
#646DC4
secondary
#D5D1AF
accent
#C853D5
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0D14
muted
#7E7E83

Preview Lab

Preview with #646DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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