#646DE7#646DE7

#646DE7 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 59.1% C 0.182 H 276.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#646DE7
RGBrgb(100, 109, 231)
HSLhsl(236, 73%, 65%)
HSVhsv(236, 57%, 91%)
CMYKcmyk(56.7%, 52.8%, 0%, 9.4%)
CIE-LABlab(51.17, 31.45, -63.15)
CIE-LCHlch(51.17, 70.55, 296.47°)
OKLaboklab(59.14% 0.0195 -0.1808)
OKLCHoklch(59.14% 0.182 276.1)
XYZxyz(25.1433, 19.4143, 78.0082)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646DE7 #E7DE64
analogous
#64AEE7 #646DE7 #9D64E7
triadic
#646DE7 #E7646D #6DE764
tetradic
#646DE7 #E764AE #E7DE64 #64E79D
square
#646DE7 #E764AE #E7DE64 #64E79D
split-complementary
#646DE7 #E79D64 #AEE764
monochromatic
#1C26B5 #2F3BDF #646DE7 #999FEF #CED1F7

Accessibility & contrast

On white

4.30
#646DE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#646DE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646DE7
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646DE7#FFFFFF#000000##000000
##646DE71.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2380EB
Deuteranopia (green-blind)
#0075E4
Tritanopia (blue-blind)
#1189A0
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #646de7;
/* rgb */ color: rgb(100, 109, 231);
/* oklch */ color: oklch(59.1% 0.182 276.1);
Tailwind
colors: {
  custom: {
    50: '#9a96ef',
    500: '#646de7',
    950: '#000000',
  },
}
SCSS
$custom: #646de7;
$custom-light: #9a96ef;
$custom-dark: #000000;
JSON
{
  "hex": "#646de7",
  "rgb": {
    "r": 100,
    "g": 109,
    "b": 231
  },
  "hsl": {
    "h": 235.878,
    "s": 73.184,
    "l": 64.902
  },
  "oklch": {
    "l": 0.59136,
    "c": 0.18187,
    "h": 276.1
  },
  "luminance": 0.19416
}

Semantic roles & 50–950 ramp

primary
#646DE7
secondary
#EAE7BD
accent
#C810D5
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #646DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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