#646FE2#646FE2

#646FE2 is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.2% C 0.173 H 275.7°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#646FE2
RGBrgb(100, 111, 226)
HSLhsl(235, 68%, 64%)
HSVhsv(235, 56%, 89%)
CMYKcmyk(55.8%, 50.9%, 0%, 11.4%)
CIE-LABlab(51.34, 28.63, -60.06)
CIE-LCHlch(51.34, 66.53, 295.49°)
OKLaboklab(59.17% 0.0171 -0.1717)
OKLCHoklch(59.17% 0.173 275.7)
XYZxyz(24.6630, 19.5675, 74.4140)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646FE2 #E2D764
analogous
#64AEE2 #646FE2 #9864E2
triadic
#646FE2 #E2646F #6FE264
tetradic
#646FE2 #E264AE #E2D764 #64E298
square
#646FE2 #E264AE #E2D764 #64E298
split-complementary
#646FE2 #E29864 #AEE264
monochromatic
#202CAC #303FD8 #646FE2 #989FEC #CBCFF5

Accessibility & contrast

On white

4.27
#646FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#646FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646FE2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646FE2#FFFFFF#000000##000000
##646FE21.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3180E6
Deuteranopia (green-blind)
#1A75E0
Tritanopia (blue-blind)
#1C899E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #646fe2;
/* rgb */ color: rgb(100, 111, 226);
/* oklch */ color: oklch(59.2% 0.173 275.7);
Tailwind
colors: {
  custom: {
    50: '#9a98ec',
    500: '#646fe2',
    950: '#000000',
  },
}
SCSS
$custom: #646fe2;
$custom-light: #9a98ec;
$custom-dark: #000000;
JSON
{
  "hex": "#646fe2",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 226
  },
  "hsl": {
    "h": 234.762,
    "s": 68.478,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59166,
    "c": 0.17255,
    "h": 275.7
  },
  "luminance": 0.19569
}

Semantic roles & 50–950 ramp

primary
#646FE2
secondary
#E7E3BB
accent
#C015D0
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #646FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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