#646CE8#646CE8

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

Color values

HEX#646CE8
RGBrgb(100, 108, 232)
HSLhsl(236, 74%, 65%)
HSVhsv(236, 57%, 91%)
CMYKcmyk(56.9%, 53.4%, 0%, 9%)
CIE-LABlab(50.99, 32.38, -64.00)
CIE-LCHlch(50.99, 71.73, 296.83°)
OKLaboklab(59.02% 0.0205 -0.1833)
OKLCHoklch(59.02% 0.184 276.4)
XYZxyz(25.1789, 19.2588, 78.7188)
Luminance0.1926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CE8 #E8E064
analogous
#64AEE8 #646CE8 #9E64E8
triadic
#646CE8 #E8646C #6CE864
tetradic
#646CE8 #E864AE #E8E064 #64E89E
square
#646CE8 #E864AE #E8E064 #64E89E
split-complementary
#646CE8 #E89E64 #AEE864
monochromatic
#1B25B7 #2F39E0 #646CE8 #999FF0 #CFD1F8

Accessibility & contrast

On white

4.33
#646CE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#646CE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646CE8
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CE8#FFFFFF#000000##000000
##646CE81.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C7FEC
Deuteranopia (green-blind)
#0074E5
Tritanopia (blue-blind)
#0E89A0
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #646ce8;
/* rgb */ color: rgb(100, 108, 232);
/* oklch */ color: oklch(59.0% 0.184 276.4);
Tailwind
colors: {
  custom: {
    50: '#9b96f0',
    500: '#646ce8',
    950: '#000000',
  },
}
SCSS
$custom: #646ce8;
$custom-light: #9b96f0;
$custom-dark: #000000;
JSON
{
  "hex": "#646ce8",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 232
  },
  "hsl": {
    "h": 236.364,
    "s": 74.157,
    "l": 65.098
  },
  "oklch": {
    "l": 0.59022,
    "c": 0.18448,
    "h": 276.4
  },
  "luminance": 0.19261
}

Semantic roles & 50–950 ramp

primary
#646CE8
secondary
#EAE8BE
accent
#CA0FD6
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #646CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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