#646DC7#646DC7

#646DC7 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.0% C 0.138 H 276.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#646DC7
RGBrgb(100, 109, 199)
HSLhsl(235, 47%, 59%)
HSVhsv(235, 50%, 78%)
CMYKcmyk(49.7%, 45.2%, 0%, 22%)
CIE-LABlab(49.21, 21.32, -48.13)
CIE-LCHlch(49.21, 52.64, 293.89°)
OKLaboklab(57.03% 0.0163 -0.1367)
OKLCHoklch(57.03% 0.138 276.8)
XYZxyz(21.0298, 17.7689, 56.3434)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646DC7 #C7BE64
analogous
#649EC7 #646DC7 #8C64C7
triadic
#646DC7 #C7646D #6DC764
tetradic
#646DC7 #C7649E #C7BE64 #64C78C
square
#646DC7 #C7649E #C7BE64 #64C78C
split-complementary
#646DC7 #C78C64 #9EC764
monochromatic
#2F3682 #3F49AF #646DC7 #9197D7 #BEC2E7

Accessibility & contrast

On white

4.61
#646DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#646DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #646DC7
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646DC7#FFFFFF#000000##FFFFFF
##646DC71.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4779CA
Deuteranopia (green-blind)
#3E71C5
Tritanopia (blue-blind)
#3D8090
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #646dc7;
/* rgb */ color: rgb(100, 109, 199);
/* oklch */ color: oklch(57.0% 0.138 276.8);
Tailwind
colors: {
  custom: {
    50: '#9696d8',
    500: '#646dc7',
    950: '#000000',
  },
}
SCSS
$custom: #646dc7;
$custom-light: #9696d8;
$custom-dark: #000000;
JSON
{
  "hex": "#646dc7",
  "rgb": {
    "r": 100,
    "g": 109,
    "b": 199
  },
  "hsl": {
    "h": 234.545,
    "s": 46.919,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57033,
    "c": 0.13764,
    "h": 276.8
  },
  "luminance": 0.1777
}

Semantic roles & 50–950 ramp

primary
#646DC7
secondary
#D7D3B0
accent
#CA51D7
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0D14
muted
#7E7E83

Preview Lab

Preview with #646DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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