#646CE5#646CE5

#646CE5 is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.8% C 0.180 H 276.5°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#646CE5
RGBrgb(100, 108, 229)
HSLhsl(236, 71%, 65%)
HSVhsv(236, 56%, 90%)
CMYKcmyk(56.3%, 52.8%, 0%, 10.2%)
CIE-LABlab(50.79, 31.42, -62.64)
CIE-LCHlch(50.79, 70.07, 296.64°)
OKLaboklab(58.81% 0.0204 -0.1793)
OKLCHoklch(58.81% 0.18 276.5)
XYZxyz(24.7564, 19.0898, 76.4937)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CE5 #E5DD64
analogous
#64ADE5 #646CE5 #9D64E5
triadic
#646CE5 #E5646C #6CE564
tetradic
#646CE5 #E564AD #E5DD64 #64E59D
square
#646CE5 #E564AD #E5DD64 #64E59D
split-complementary
#646CE5 #E59D64 #ADE564
monochromatic
#1E27B1 #303ADC #646CE5 #989EEE #CDCFF7

Accessibility & contrast

On white

4.36
#646CE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#646CE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646CE5
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CE5#FFFFFF#000000##000000
##646CE51.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#237EE9
Deuteranopia (green-blind)
#0074E2
Tritanopia (blue-blind)
#17889E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #646ce5;
/* rgb */ color: rgb(100, 108, 229);
/* oklch */ color: oklch(58.8% 0.180 276.5);
Tailwind
colors: {
  custom: {
    50: '#9a96ee',
    500: '#646ce5',
    950: '#000000',
  },
}
SCSS
$custom: #646ce5;
$custom-light: #9a96ee;
$custom-dark: #000000;
JSON
{
  "hex": "#646ce5",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 229
  },
  "hsl": {
    "h": 236.279,
    "s": 71.271,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58812,
    "c": 0.18046,
    "h": 276.5
  },
  "luminance": 0.19092
}

Semantic roles & 50–950 ramp

primary
#646CE5
secondary
#E9E6BC
accent
#C712D3
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #646CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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