#646BD6#646BD6

#646BD6 is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.6% C 0.161 H 277.2°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#646BD6
RGBrgb(100, 107, 214)
HSLhsl(236, 58%, 62%)
HSVhsv(236, 53%, 84%)
CMYKcmyk(53.3%, 50%, 0%, 16.1%)
CIE-LABlab(49.59, 27.26, -56.09)
CIE-LCHlch(49.59, 62.36, 295.92°)
OKLaboklab(57.61% 0.0203 -0.1601)
OKLCHoklch(57.61% 0.161 277.2)
XYZxyz(22.6470, 18.0783, 65.9014)
Luminance0.1808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646BD6 #D6CF64
analogous
#64A4D6 #646BD6 #9664D6
triadic
#646BD6 #D6646B #6BD664
tetradic
#646BD6 #D664A4 #D6CF64 #64D696
square
#646BD6 #D664A4 #D6CF64 #64D696
split-complementary
#646BD6 #D69664 #A4D664
monochromatic
#282F98 #353EC8 #646BD6 #9499E3 #C5C7F0

Accessibility & contrast

On white

4.55
#646BD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#646BD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646BD6
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646BD6#FFFFFF#000000##000000
##646BD61.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#367BDA
Deuteranopia (green-blind)
#2771D4
Tritanopia (blue-blind)
#2F8396
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #646bd6;
/* rgb */ color: rgb(100, 107, 214);
/* oklch */ color: oklch(57.6% 0.161 277.2);
Tailwind
colors: {
  custom: {
    50: '#9895e3',
    500: '#646bd6',
    950: '#000000',
  },
}
SCSS
$custom: #646bd6;
$custom-light: #9895e3;
$custom-dark: #000000;
JSON
{
  "hex": "#646bd6",
  "rgb": {
    "r": 100,
    "g": 107,
    "b": 214
  },
  "hsl": {
    "h": 236.316,
    "s": 58.163,
    "l": 61.569
  },
  "oklch": {
    "l": 0.57605,
    "c": 0.16136,
    "h": 277.2
  },
  "luminance": 0.1808
}

Semantic roles & 50–950 ramp

primary
#646BD6
secondary
#E0DEB6
accent
#BC20C6
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0E0D15
muted
#7E7E84

Preview Lab

Preview with #646BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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