#646CE4#646CE4

#646CE4 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.7% C 0.179 H 276.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#646CE4
RGBrgb(100, 108, 228)
HSLhsl(236, 70%, 64%)
HSVhsv(236, 56%, 89%)
CMYKcmyk(56.1%, 52.6%, 0%, 10.6%)
CIE-LABlab(50.73, 31.10, -62.18)
CIE-LCHlch(50.73, 69.52, 296.57°)
OKLaboklab(58.74% 0.0203 -0.178)
OKLCHoklch(58.74% 0.179 276.5)
XYZxyz(24.6172, 19.0342, 75.7605)
Luminance0.1904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CE4 #E4DC64
analogous
#64ACE4 #646CE4 #9C64E4
triadic
#646CE4 #E4646C #6CE464
tetradic
#646CE4 #E464AC #E4DC64 #64E49C
square
#646CE4 #E464AC #E4DC64 #64E49C
split-complementary
#646CE4 #E49C64 #ACE464
monochromatic
#1F28AF #303BDB #646CE4 #989DED #CCCFF6

Accessibility & contrast

On white

4.37
#646CE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#646CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646CE4
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CE4#FFFFFF#000000##000000
##646CE41.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#257EE8
Deuteranopia (green-blind)
#0074E1
Tritanopia (blue-blind)
#19879E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #646ce4;
/* rgb */ color: rgb(100, 108, 228);
/* oklch */ color: oklch(58.7% 0.179 276.5);
Tailwind
colors: {
  custom: {
    50: '#9a96ed',
    500: '#646ce4',
    950: '#000000',
  },
}
SCSS
$custom: #646ce4;
$custom-light: #9a96ed;
$custom-dark: #000000;
JSON
{
  "hex": "#646ce4",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 228
  },
  "hsl": {
    "h": 236.25,
    "s": 70.33,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58743,
    "c": 0.17912,
    "h": 276.5
  },
  "luminance": 0.19036
}

Semantic roles & 50–950 ramp

primary
#646CE4
secondary
#E8E5BC
accent
#C613D2
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #646CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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