#646DB7#646DB7

#646DB7 is a mid, moderate blue. Relative luminance 0.171; OKLCH L 56.1% C 0.115 H 276.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#646DB7
RGBrgb(100, 109, 183)
HSLhsl(233, 37%, 55%)
HSVhsv(233, 45%, 72%)
CMYKcmyk(45.4%, 40.4%, 0%, 28.2%)
CIE-LABlab(48.34, 16.39, -40.29)
CIE-LCHlch(48.34, 43.50, 292.14°)
OKLaboklab(56.08% 0.0135 -0.1137)
OKLCHoklch(56.08% 0.115 276.8)
XYZxyz(19.2688, 17.0645, 47.0690)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646DB7 #B7AE64
analogous
#6496B7 #646DB7 #8464B7
triadic
#646DB7 #B7646D #6DB764
tetradic
#646DB7 #B76496 #B7AE64 #64B784
square
#646DB7 #B76496 #B7AE64 #64B784
split-complementary
#646DB7 #B78464 #96B764
monochromatic
#33396E #464F97 #646DB7 #8E94CA #B8BCDE

Accessibility & contrast

On white

4.76
#646DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#646DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646DB7
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646DB7#FFFFFF#000000##FFFFFF
##646DB71.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5276BA
Deuteranopia (green-blind)
#4B70B5
Tritanopia (blue-blind)
#477C89
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #646db7;
/* rgb */ color: rgb(100, 109, 183);
/* oklch */ color: oklch(56.1% 0.115 276.8);
Tailwind
colors: {
  custom: {
    50: '#9496cd',
    500: '#646db7',
    950: '#000000',
  },
}
SCSS
$custom: #646db7;
$custom-light: #9496cd;
$custom-dark: #000000;
JSON
{
  "hex": "#646db7",
  "rgb": {
    "r": 100,
    "g": 109,
    "b": 183
  },
  "hsl": {
    "h": 233.494,
    "s": 36.564,
    "l": 55.49
  },
  "oklch": {
    "l": 0.56083,
    "c": 0.11454,
    "h": 276.8
  },
  "luminance": 0.17066
}

Semantic roles & 50–950 ramp

primary
#646DB7
secondary
#CDC9AA
accent
#C05BCD
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0D0D13
muted
#7E7E82

Preview Lab

Preview with #646DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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