#646CC1#646CC1

#646CC1 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.5% C 0.130 H 277.3°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#646CC1
RGBrgb(100, 108, 193)
HSLhsl(235, 43%, 57%)
HSVhsv(235, 48%, 76%)
CMYKcmyk(48.2%, 44%, 0%, 24.3%)
CIE-LABlab(48.62, 20.07, -45.63)
CIE-LCHlch(48.62, 49.85, 293.74°)
OKLaboklab(56.47% 0.0166 -0.1294)
OKLCHoklch(56.47% 0.13 277.3)
XYZxyz(20.2408, 17.2836, 52.7113)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CC1 #C1B964
analogous
#649AC1 #646CC1 #8B64C1
triadic
#646CC1 #C1646C #6CC164
tetradic
#646CC1 #C1649A #C1B964 #64C18B
square
#646CC1 #C1649A #C1B964 #64C18B
split-complementary
#646CC1 #C18B64 #9AC164
monochromatic
#31377A #424BA6 #646CC1 #9095D2 #BBBFE4

Accessibility & contrast

On white

4.71
#646CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#646CC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646CC1
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CC1#FFFFFF#000000##FFFFFF
##646CC11.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A77C4
Deuteranopia (green-blind)
#4270BF
Tritanopia (blue-blind)
#417E8D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #646cc1;
/* rgb */ color: rgb(100, 108, 193);
/* oklch */ color: oklch(56.5% 0.130 277.3);
Tailwind
colors: {
  custom: {
    50: '#9596d4',
    500: '#646cc1',
    950: '#000000',
  },
}
SCSS
$custom: #646cc1;
$custom-light: #9596d4;
$custom-dark: #000000;
JSON
{
  "hex": "#646cc1",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 193
  },
  "hsl": {
    "h": 234.839,
    "s": 42.857,
    "l": 57.451
  },
  "oklch": {
    "l": 0.56468,
    "c": 0.13043,
    "h": 277.3
  },
  "luminance": 0.17285
}

Semantic roles & 50–950 ramp

primary
#646CC1
secondary
#D3D0AE
accent
#C855D3
background
#F9F9FD
surface
#F2F1FA
border
#CCCBD3
text
#0E0D14
muted
#7E7E83

Preview Lab

Preview with #646CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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