#646CE6#646CE6

#646CE6 is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.9% C 0.182 H 276.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#646CE6
RGBrgb(100, 108, 230)
HSLhsl(236, 72%, 65%)
HSVhsv(236, 57%, 90%)
CMYKcmyk(56.5%, 53%, 0%, 9.8%)
CIE-LABlab(50.86, 31.74, -63.09)
CIE-LCHlch(50.86, 70.63, 296.70°)
OKLaboklab(58.88% 0.0204 -0.1807)
OKLCHoklch(58.88% 0.182 276.4)
XYZxyz(24.8964, 19.1459, 77.2312)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CE6 #E6DE64
analogous
#64ADE6 #646CE6 #9D64E6
triadic
#646CE6 #E6646C #6CE664
tetradic
#646CE6 #E664AD #E6DE64 #64E69D
square
#646CE6 #E664AD #E6DE64 #64E69D
split-complementary
#646CE6 #E69D64 #ADE664
monochromatic
#1D26B3 #2F3ADD #646CE6 #999EEE #CDD0F7

Accessibility & contrast

On white

4.35
#646CE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#646CE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646CE6
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CE6#FFFFFF#000000##000000
##646CE61.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#217FEA
Deuteranopia (green-blind)
#0074E3
Tritanopia (blue-blind)
#14889F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #646ce6;
/* rgb */ color: rgb(100, 108, 230);
/* oklch */ color: oklch(58.9% 0.182 276.4);
Tailwind
colors: {
  custom: {
    50: '#9a96ef',
    500: '#646ce6',
    950: '#000000',
  },
}
SCSS
$custom: #646ce6;
$custom-light: #9a96ef;
$custom-dark: #000000;
JSON
{
  "hex": "#646ce6",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 230
  },
  "hsl": {
    "h": 236.308,
    "s": 72.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.58882,
    "c": 0.18181,
    "h": 276.4
  },
  "luminance": 0.19148
}

Semantic roles & 50–950 ramp

primary
#646CE6
secondary
#E9E6BD
accent
#C811D4
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #646CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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