#646AE7#646AE7

#646AE7 is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.6% C 0.186 H 276.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#646AE7
RGBrgb(100, 106, 231)
HSLhsl(237, 73%, 65%)
HSVhsv(237, 57%, 91%)
CMYKcmyk(56.7%, 54.1%, 0%, 9.4%)
CIE-LABlab(50.43, 33.27, -64.34)
CIE-LCHlch(50.43, 72.43, 297.34°)
OKLaboklab(58.59% 0.0225 -0.1843)
OKLCHoklch(58.59% 0.186 276.9)
XYZxyz(24.8287, 18.7852, 77.9033)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646AE7 #E7E164
analogous
#64ABE7 #646AE7 #A064E7
triadic
#646AE7 #E7646A #6AE764
tetradic
#646AE7 #E764AB #E7E164 #64E7A0
square
#646AE7 #E764AB #E7E164 #64E7A0
split-complementary
#646AE7 #E7A064 #ABE764
monochromatic
#1C23B5 #2F37DF #646AE7 #999DEF #CED0F7

Accessibility & contrast

On white

4.41
#646AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#646AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646AE7
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646AE7#FFFFFF#000000##000000
##646AE71.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#157EEB
Deuteranopia (green-blind)
#0073E4
Tritanopia (blue-blind)
#12879E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #646ae7;
/* rgb */ color: rgb(100, 106, 231);
/* oklch */ color: oklch(58.6% 0.186 276.9);
Tailwind
colors: {
  custom: {
    50: '#9b94ef',
    500: '#646ae7',
    950: '#000000',
  },
}
SCSS
$custom: #646ae7;
$custom-light: #9b94ef;
$custom-dark: #000000;
JSON
{
  "hex": "#646ae7",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 231
  },
  "hsl": {
    "h": 237.252,
    "s": 73.184,
    "l": 64.902
  },
  "oklch": {
    "l": 0.58587,
    "c": 0.1857,
    "h": 276.9
  },
  "luminance": 0.18787
}

Semantic roles & 50–950 ramp

primary
#646AE7
secondary
#EAE8BD
accent
#CC10D5
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #646AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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