#646AD5#646AD5

#646AD5 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.3% C 0.161 H 277.6°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#646AD5
RGBrgb(100, 106, 213)
HSLhsl(237, 57%, 61%)
HSVhsv(237, 53%, 84%)
CMYKcmyk(53.1%, 50.2%, 0%, 16.5%)
CIE-LABlab(49.28, 27.55, -56.02)
CIE-LCHlch(49.28, 62.43, 296.19°)
OKLaboklab(57.35% 0.0213 -0.1599)
OKLCHoklch(57.35% 0.161 277.6)
XYZxyz(22.4160, 17.8201, 65.1963)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646AD5 #D5CF64
analogous
#64A3D5 #646AD5 #9764D5
triadic
#646AD5 #D5646A #6AD564
tetradic
#646AD5 #D564A3 #D5CF64 #64D597
square
#646AD5 #D564A3 #D5CF64 #64D597
split-complementary
#646AD5 #D59764 #A3D564
monochromatic
#292E96 #363DC6 #646AD5 #9498E2 #C4C7EF

Accessibility & contrast

On white

4.60
#646AD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#646AD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #646AD5
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646AD5#FFFFFF#000000##FFFFFF
##646AD51.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#347AD9
Deuteranopia (green-blind)
#2671D3
Tritanopia (blue-blind)
#308295
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #646ad5;
/* rgb */ color: rgb(100, 106, 213);
/* oklch */ color: oklch(57.3% 0.161 277.6);
Tailwind
colors: {
  custom: {
    50: '#9894e2',
    500: '#646ad5',
    950: '#000000',
  },
}
SCSS
$custom: #646ad5;
$custom-light: #9894e2;
$custom-dark: #000000;
JSON
{
  "hex": "#646ad5",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 213
  },
  "hsl": {
    "h": 236.814,
    "s": 57.36,
    "l": 61.373
  },
  "oklch": {
    "l": 0.57349,
    "c": 0.16131,
    "h": 277.6
  },
  "luminance": 0.17821
}

Semantic roles & 50–950 ramp

primary
#646AD5
secondary
#E0DDB5
accent
#BC21C5
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #646AD5

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

Preview Lab → · Contrast checker → · Palette generator →

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