#646BE6#646BE6

#646BE6 is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.7% C 0.183 H 276.7°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#646BE6
RGBrgb(100, 107, 230)
HSLhsl(237, 72%, 65%)
HSVhsv(237, 57%, 90%)
CMYKcmyk(56.5%, 53.5%, 0%, 9.8%)
CIE-LABlab(50.61, 32.34, -63.49)
CIE-LCHlch(50.61, 71.25, 297.00°)
OKLaboklab(58.7% 0.0214 -0.1818)
OKLCHoklch(58.7% 0.183 276.7)
XYZxyz(24.7916, 18.9361, 77.1962)
Luminance0.1894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646BE6 #E6DF64
analogous
#64ACE6 #646BE6 #9E64E6
triadic
#646BE6 #E6646B #6BE664
tetradic
#646BE6 #E664AC #E6DF64 #64E69E
square
#646BE6 #E664AC #E6DF64 #64E69E
split-complementary
#646BE6 #E69E64 #ACE664
monochromatic
#1D25B3 #2F39DD #646BE6 #999DEE #CDD0F7

Accessibility & contrast

On white

4.39
#646BE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#646BE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646BE6
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646BE6#FFFFFF#000000##000000
##646BE61.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D7EEA
Deuteranopia (green-blind)
#0073E3
Tritanopia (blue-blind)
#15879E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #646be6;
/* rgb */ color: rgb(100, 107, 230);
/* oklch */ color: oklch(58.7% 0.183 276.7);
Tailwind
colors: {
  custom: {
    50: '#9a95ef',
    500: '#646be6',
    950: '#000000',
  },
}
SCSS
$custom: #646be6;
$custom-light: #9a95ef;
$custom-dark: #000000;
JSON
{
  "hex": "#646be6",
  "rgb": {
    "r": 100,
    "g": 107,
    "b": 230
  },
  "hsl": {
    "h": 236.769,
    "s": 72.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.58699,
    "c": 0.18309,
    "h": 276.7
  },
  "luminance": 0.18938
}

Semantic roles & 50–950 ramp

primary
#646BE6
secondary
#E9E7BD
accent
#CA11D4
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #646BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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