#646AE4#646AE4

#646AE4 is a mid, vivid blue. Relative luminance 0.186; OKLCH L 58.4% C 0.182 H 277.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#646AE4
RGBrgb(100, 106, 228)
HSLhsl(237, 70%, 64%)
HSVhsv(237, 56%, 89%)
CMYKcmyk(56.1%, 53.5%, 0%, 10.6%)
CIE-LABlab(50.24, 32.31, -62.97)
CIE-LCHlch(50.24, 70.78, 297.16°)
OKLaboklab(58.38% 0.0223 -0.1803)
OKLCHoklch(58.38% 0.182 277.1)
XYZxyz(24.4087, 18.6171, 75.6910)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646AE4 #E4DE64
analogous
#64AAE4 #646AE4 #9E64E4
triadic
#646AE4 #E4646A #6AE464
tetradic
#646AE4 #E464AA #E4DE64 #64E49E
square
#646AE4 #E464AA #E4DE64 #64E49E
split-complementary
#646AE4 #E49E64 #AAE464
monochromatic
#1F25AF #3038DB #646AE4 #989CED #CCCEF6

Accessibility & contrast

On white

4.45
#646AE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#646AE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646AE4
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646AE4#FFFFFF#000000##000000
##646AE41.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D7DE8
Deuteranopia (green-blind)
#0072E1
Tritanopia (blue-blind)
#1A869D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #646ae4;
/* rgb */ color: rgb(100, 106, 228);
/* oklch */ color: oklch(58.4% 0.182 277.1);
Tailwind
colors: {
  custom: {
    50: '#9a94ed',
    500: '#646ae4',
    950: '#000000',
  },
}
SCSS
$custom: #646ae4;
$custom-light: #9a94ed;
$custom-dark: #000000;
JSON
{
  "hex": "#646ae4",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 228
  },
  "hsl": {
    "h": 237.188,
    "s": 70.33,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58375,
    "c": 0.1817,
    "h": 277.1
  },
  "luminance": 0.18619
}

Semantic roles & 50–950 ramp

primary
#646AE4
secondary
#E8E6BC
accent
#C913D2
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #646AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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