#646DE4#646DE4

#646DE4 is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.9% C 0.178 H 276.2°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#646DE4
RGBrgb(100, 109, 228)
HSLhsl(236, 70%, 64%)
HSVhsv(236, 56%, 89%)
CMYKcmyk(56.1%, 52.2%, 0%, 10.6%)
CIE-LABlab(50.97, 30.49, -61.78)
CIE-LCHlch(50.97, 68.89, 296.27°)
OKLaboklab(58.93% 0.0193 -0.1768)
OKLCHoklch(58.93% 0.178 276.2)
XYZxyz(24.7233, 19.2463, 75.7958)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646DE4 #E4DB64
analogous
#64ADE4 #646DE4 #9B64E4
triadic
#646DE4 #E4646D #6DE464
tetradic
#646DE4 #E464AD #E4DB64 #64E49B
square
#646DE4 #E464AD #E4DB64 #64E49B
split-complementary
#646DE4 #E49B64 #ADE464
monochromatic
#1F29AF #303CDB #646DE4 #989EED #CCCFF6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##646DE4#FFFFFF#000000##000000
##646DE41.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)
#287FE8
Deuteranopia (green-blind)
#0574E2
Tritanopia (blue-blind)
#19889E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #646de4;
/* rgb */ color: rgb(100, 109, 228);
/* oklch */ color: oklch(58.9% 0.178 276.2);
Tailwind
colors: {
  custom: {
    50: '#9a96ed',
    500: '#646de4',
    950: '#000000',
  },
}
SCSS
$custom: #646de4;
$custom-light: #9a96ed;
$custom-dark: #000000;
JSON
{
  "hex": "#646de4",
  "rgb": {
    "r": 100,
    "g": 109,
    "b": 228
  },
  "hsl": {
    "h": 235.781,
    "s": 70.33,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58928,
    "c": 0.17784,
    "h": 276.2
  },
  "luminance": 0.19248
}

Semantic roles & 50–950 ramp

primary
#646DE4
secondary
#E8E5BC
accent
#C513D2
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #646DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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