#646DE5#646DE5

#646DE5 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 59.0% C 0.179 H 276.2°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#646DE5
RGBrgb(100, 109, 229)
HSLhsl(236, 71%, 65%)
HSVhsv(236, 56%, 90%)
CMYKcmyk(56.3%, 52.4%, 0%, 10.2%)
CIE-LABlab(51.04, 30.81, -62.24)
CIE-LCHlch(51.04, 69.45, 296.34°)
OKLaboklab(59% 0.0193 -0.1781)
OKLCHoklch(59% 0.179 276.2)
XYZxyz(24.8625, 19.3020, 76.5291)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646DE5 #E5DC64
analogous
#64AEE5 #646DE5 #9C64E5
triadic
#646DE5 #E5646D #6DE564
tetradic
#646DE5 #E564AE #E5DC64 #64E59C
square
#646DE5 #E564AE #E5DC64 #64E59C
split-complementary
#646DE5 #E59C64 #AEE564
monochromatic
#1E28B1 #303CDC #646DE5 #989EEE #CDD0F7

Accessibility & contrast

On white

4.32
#646DE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#646DE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646DE5
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646DE5#FFFFFF#000000##000000
##646DE51.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#277FE9
Deuteranopia (green-blind)
#0074E2
Tritanopia (blue-blind)
#16889F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #646de5;
/* rgb */ color: rgb(100, 109, 229);
/* oklch */ color: oklch(59.0% 0.179 276.2);
Tailwind
colors: {
  custom: {
    50: '#9a96ee',
    500: '#646de5',
    950: '#000000',
  },
}
SCSS
$custom: #646de5;
$custom-light: #9a96ee;
$custom-dark: #000000;
JSON
{
  "hex": "#646de5",
  "rgb": {
    "r": 100,
    "g": 109,
    "b": 229
  },
  "hsl": {
    "h": 235.814,
    "s": 71.271,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58997,
    "c": 0.17919,
    "h": 276.2
  },
  "luminance": 0.19304
}

Semantic roles & 50–950 ramp

primary
#646DE5
secondary
#E9E6BC
accent
#C612D3
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #646DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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