#646FE7#646FE7

#646FE7 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.5% C 0.179 H 275.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#646FE7
RGBrgb(100, 111, 231)
HSLhsl(235, 73%, 65%)
HSVhsv(235, 57%, 91%)
CMYKcmyk(56.7%, 51.9%, 0%, 9.4%)
CIE-LABlab(51.66, 30.24, -62.36)
CIE-LCHlch(51.66, 69.30, 295.87°)
OKLaboklab(59.51% 0.0174 -0.1785)
OKLCHoklch(59.51% 0.179 275.6)
XYZxyz(25.3591, 19.8459, 78.0801)
Luminance0.1985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646FE7 #E7DC64
analogous
#64B0E7 #646FE7 #9B64E7
triadic
#646FE7 #E7646F #6FE764
tetradic
#646FE7 #E764B0 #E7DC64 #64E79B
square
#646FE7 #E764B0 #E7DC64 #64E79B
split-complementary
#646FE7 #E79B64 #B0E764
monochromatic
#1C29B5 #2F3EDF #646FE7 #99A0EF #CED1F7

Accessibility & contrast

On white

4.23
#646FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#646FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646FE7
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646FE7#FFFFFF#000000##000000
##646FE71.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A81EB
Deuteranopia (green-blind)
#0576E4
Tritanopia (blue-blind)
#0F8AA0
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #646fe7;
/* rgb */ color: rgb(100, 111, 231);
/* oklch */ color: oklch(59.5% 0.179 275.6);
Tailwind
colors: {
  custom: {
    50: '#9a98ef',
    500: '#646fe7',
    950: '#000000',
  },
}
SCSS
$custom: #646fe7;
$custom-light: #9a98ef;
$custom-dark: #000000;
JSON
{
  "hex": "#646fe7",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 231
  },
  "hsl": {
    "h": 234.962,
    "s": 73.184,
    "l": 64.902
  },
  "oklch": {
    "l": 0.59507,
    "c": 0.17931,
    "h": 275.6
  },
  "luminance": 0.19848
}

Semantic roles & 50–950 ramp

primary
#646FE7
secondary
#EAE6BD
accent
#C510D5
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #646FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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