#646CC2#646CC2

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

Color values

HEX#646CC2
RGBrgb(100, 108, 194)
HSLhsl(235, 44%, 58%)
HSVhsv(235, 48%, 76%)
CMYKcmyk(48.5%, 44.3%, 0%, 23.9%)
CIE-LABlab(48.67, 20.38, -46.12)
CIE-LCHlch(48.67, 50.42, 293.84°)
OKLaboklab(56.53% 0.0167 -0.1308)
OKLCHoklch(56.53% 0.132 277.3)
XYZxyz(20.3527, 17.3284, 53.3007)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CC2 #C2BA64
analogous
#649BC2 #646CC2 #8B64C2
triadic
#646CC2 #C2646C #6CC264
tetradic
#646CC2 #C2649B #C2BA64 #64C28B
square
#646CC2 #C2649B #C2BA64 #64C28B
split-complementary
#646CC2 #C28B64 #9BC264
monochromatic
#30377B #424AA7 #646CC2 #9096D3 #BCBFE5

Accessibility & contrast

On white

4.70
#646CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#646CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646CC2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CC2#FFFFFF#000000##FFFFFF
##646CC21.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4977C5
Deuteranopia (green-blind)
#4170C0
Tritanopia (blue-blind)
#407E8D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #646cc2;
/* rgb */ color: rgb(100, 108, 194);
/* oklch */ color: oklch(56.5% 0.132 277.3);
Tailwind
colors: {
  custom: {
    50: '#9696d5',
    500: '#646cc2',
    950: '#000000',
  },
}
SCSS
$custom: #646cc2;
$custom-light: #9696d5;
$custom-dark: #000000;
JSON
{
  "hex": "#646cc2",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 194
  },
  "hsl": {
    "h": 234.894,
    "s": 43.519,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56528,
    "c": 0.13187,
    "h": 277.3
  },
  "luminance": 0.17329
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #646CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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