#646AE6#646AE6

#646AE6 is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.5% C 0.184 H 277.0°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#646AE6
RGBrgb(100, 106, 230)
HSLhsl(237, 72%, 65%)
HSVhsv(237, 57%, 90%)
CMYKcmyk(56.5%, 53.9%, 0%, 9.8%)
CIE-LABlab(50.37, 32.95, -63.88)
CIE-LCHlch(50.37, 71.88, 297.28°)
OKLaboklab(58.52% 0.0224 -0.183)
OKLCHoklch(58.52% 0.184 277)
XYZxyz(24.6879, 18.7288, 77.1617)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646AE6 #E6E064
analogous
#64ABE6 #646AE6 #9F64E6
triadic
#646AE6 #E6646A #6AE664
tetradic
#646AE6 #E664AB #E6E064 #64E69F
square
#646AE6 #E664AB #E6E064 #64E69F
split-complementary
#646AE6 #E69F64 #ABE664
monochromatic
#1D24B3 #2F37DD #646AE6 #999DEE #CDCFF7

Accessibility & contrast

On white

4.42
#646AE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#646AE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646AE6
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646AE6#FFFFFF#000000##000000
##646AE61.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#187DEA
Deuteranopia (green-blind)
#0073E3
Tritanopia (blue-blind)
#15879E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #646ae6;
/* rgb */ color: rgb(100, 106, 230);
/* oklch */ color: oklch(58.5% 0.184 277.0);
Tailwind
colors: {
  custom: {
    50: '#9a94ef',
    500: '#646ae6',
    950: '#000000',
  },
}
SCSS
$custom: #646ae6;
$custom-light: #9a94ef;
$custom-dark: #000000;
JSON
{
  "hex": "#646ae6",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 230
  },
  "hsl": {
    "h": 237.231,
    "s": 72.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.58516,
    "c": 0.18437,
    "h": 277
  },
  "luminance": 0.18731
}

Semantic roles & 50–950 ramp

primary
#646AE6
secondary
#E9E7BD
accent
#CB11D4
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #646AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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