#646FE6#646FE6

#646FE6 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.4% C 0.178 H 275.6°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#646FE6
RGBrgb(100, 111, 230)
HSLhsl(235, 72%, 65%)
HSVhsv(235, 57%, 90%)
CMYKcmyk(56.5%, 51.7%, 0%, 9.8%)
CIE-LABlab(51.60, 29.92, -61.90)
CIE-LCHlch(51.60, 68.75, 295.80°)
OKLaboklab(59.44% 0.0174 -0.1771)
OKLCHoklch(59.44% 0.178 275.6)
XYZxyz(25.2183, 19.7896, 77.3384)
Luminance0.1979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646FE6 #E6DB64
analogous
#64B0E6 #646FE6 #9A64E6
triadic
#646FE6 #E6646F #6FE664
tetradic
#646FE6 #E664B0 #E6DB64 #64E69A
square
#646FE6 #E664B0 #E6DB64 #64E69A
split-complementary
#646FE6 #E69A64 #B0E664
monochromatic
#1D2AB3 #2F3EDD #646FE6 #99A0EE #CDD1F7

Accessibility & contrast

On white

4.24
#646FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#646FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646FE6
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646FE6#FFFFFF#000000##000000
##646FE61.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B81EA
Deuteranopia (green-blind)
#0B76E4
Tritanopia (blue-blind)
#138AA0
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #646fe6;
/* rgb */ color: rgb(100, 111, 230);
/* oklch */ color: oklch(59.4% 0.178 275.6);
Tailwind
colors: {
  custom: {
    50: '#9a98ef',
    500: '#646fe6',
    950: '#000000',
  },
}
SCSS
$custom: #646fe6;
$custom-light: #9a98ef;
$custom-dark: #000000;
JSON
{
  "hex": "#646fe6",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 230
  },
  "hsl": {
    "h": 234.923,
    "s": 72.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59438,
    "c": 0.17796,
    "h": 275.6
  },
  "luminance": 0.19791
}

Semantic roles & 50–950 ramp

primary
#646FE6
secondary
#E9E5BD
accent
#C411D4
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #646FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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