#646CE7#646CE7

#646CE7 is a mid, vivid blue. Relative luminance 0.192; OKLCH L 59.0% C 0.183 H 276.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#646CE7
RGBrgb(100, 108, 231)
HSLhsl(236, 73%, 65%)
HSVhsv(236, 57%, 91%)
CMYKcmyk(56.7%, 53.2%, 0%, 9.4%)
CIE-LABlab(50.92, 32.06, -63.55)
CIE-LCHlch(50.92, 71.18, 296.77°)
OKLaboklab(58.95% 0.0205 -0.182)
OKLCHoklch(58.95% 0.183 276.4)
XYZxyz(25.0373, 19.2022, 77.9728)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CE7 #E7DF64
analogous
#64ADE7 #646CE7 #9E64E7
triadic
#646CE7 #E7646C #6CE764
tetradic
#646CE7 #E764AD #E7DF64 #64E79E
square
#646CE7 #E764AD #E7DF64 #64E79E
split-complementary
#646CE7 #E79E64 #ADE764
monochromatic
#1C25B5 #2F3ADF #646CE7 #999EEF #CED1F7

Accessibility & contrast

On white

4.34
#646CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#646CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646CE7
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CE7#FFFFFF#000000##000000
##646CE71.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F7FEB
Deuteranopia (green-blind)
#0074E4
Tritanopia (blue-blind)
#11889F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #646ce7;
/* rgb */ color: rgb(100, 108, 231);
/* oklch */ color: oklch(59.0% 0.183 276.4);
Tailwind
colors: {
  custom: {
    50: '#9a96ef',
    500: '#646ce7',
    950: '#000000',
  },
}
SCSS
$custom: #646ce7;
$custom-light: #9a96ef;
$custom-dark: #000000;
JSON
{
  "hex": "#646ce7",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 231
  },
  "hsl": {
    "h": 236.336,
    "s": 73.184,
    "l": 64.902
  },
  "oklch": {
    "l": 0.58952,
    "c": 0.18315,
    "h": 276.4
  },
  "luminance": 0.19204
}

Semantic roles & 50–950 ramp

primary
#646CE7
secondary
#EAE7BD
accent
#C910D5
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #646CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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