#646FE1#646FE1

#646FE1 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.1% C 0.171 H 275.7°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#646FE1
RGBrgb(100, 111, 225)
HSLhsl(235, 68%, 64%)
HSVhsv(235, 56%, 88%)
CMYKcmyk(55.6%, 50.7%, 0%, 11.8%)
CIE-LABlab(51.28, 28.32, -59.60)
CIE-LCHlch(51.28, 65.98, 295.41°)
OKLaboklab(59.1% 0.017 -0.1703)
OKLCHoklch(59.1% 0.171 275.7)
XYZxyz(24.5262, 19.5127, 73.6935)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646FE1 #E1D664
analogous
#64ADE1 #646FE1 #9764E1
triadic
#646FE1 #E1646F #6FE164
tetradic
#646FE1 #E164AD #E1D664 #64E197
square
#646FE1 #E164AD #E1D664 #64E197
split-complementary
#646FE1 #E19764 #ADE164
monochromatic
#212DAA #313FD7 #646FE1 #979FEB #CBCEF5

Accessibility & contrast

On white

4.28
#646FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#646FE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646FE1
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646FE1#FFFFFF#000000##000000
##646FE11.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3280E5
Deuteranopia (green-blind)
#1D75DF
Tritanopia (blue-blind)
#1E899D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #646fe1;
/* rgb */ color: rgb(100, 111, 225);
/* oklch */ color: oklch(59.1% 0.171 275.7);
Tailwind
colors: {
  custom: {
    50: '#9998eb',
    500: '#646fe1',
    950: '#000000',
  },
}
SCSS
$custom: #646fe1;
$custom-light: #9998eb;
$custom-dark: #000000;
JSON
{
  "hex": "#646fe1",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 225
  },
  "hsl": {
    "h": 234.72,
    "s": 67.568,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59099,
    "c": 0.17119,
    "h": 275.7
  },
  "luminance": 0.19514
}

Semantic roles & 50–950 ramp

primary
#646FE1
secondary
#E6E3BA
accent
#BF16CF
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #646FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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