#646CE1#646CE1

#646CE1 is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.5% C 0.175 H 276.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#646CE1
RGBrgb(100, 108, 225)
HSLhsl(236, 68%, 64%)
HSVhsv(236, 56%, 88%)
CMYKcmyk(55.6%, 52%, 0%, 11.8%)
CIE-LABlab(50.53, 30.14, -60.80)
CIE-LCHlch(50.53, 67.86, 296.37°)
OKLaboklab(58.54% 0.0201 -0.1739)
OKLCHoklch(58.54% 0.175 276.6)
XYZxyz(24.2044, 18.8690, 73.5862)
Luminance0.1887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CE1 #E1D964
analogous
#64AAE1 #646CE1 #9A64E1
triadic
#646CE1 #E1646C #6CE164
tetradic
#646CE1 #E164AA #E1D964 #64E19A
square
#646CE1 #E164AA #E1D964 #64E19A
split-complementary
#646CE1 #E19A64 #AAE164
monochromatic
#212AAA #313BD7 #646CE1 #979DEB #CBCDF5

Accessibility & contrast

On white

4.40
#646CE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#646CE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646CE1
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CE1#FFFFFF#000000##000000
##646CE11.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7EE5
Deuteranopia (green-blind)
#0E73DF
Tritanopia (blue-blind)
#1F879C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #646ce1;
/* rgb */ color: rgb(100, 108, 225);
/* oklch */ color: oklch(58.5% 0.175 276.6);
Tailwind
colors: {
  custom: {
    50: '#9a96eb',
    500: '#646ce1',
    950: '#000000',
  },
}
SCSS
$custom: #646ce1;
$custom-light: #9a96eb;
$custom-dark: #000000;
JSON
{
  "hex": "#646ce1",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 225
  },
  "hsl": {
    "h": 236.16,
    "s": 67.568,
    "l": 63.725
  },
  "oklch": {
    "l": 0.58536,
    "c": 0.17507,
    "h": 276.6
  },
  "luminance": 0.18871
}

Semantic roles & 50–950 ramp

primary
#646CE1
secondary
#E6E4BA
accent
#C416CF
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #646CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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