#646DB5#646DB5

#646DB5 is a mid, moderate blue. Relative luminance 0.170; OKLCH L 56.0% C 0.112 H 276.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#646DB5
RGBrgb(100, 109, 181)
HSLhsl(233, 35%, 55%)
HSVhsv(233, 45%, 71%)
CMYKcmyk(44.8%, 39.8%, 0%, 29%)
CIE-LABlab(48.24, 15.79, -39.30)
CIE-LCHlch(48.24, 42.35, 291.89°)
OKLaboklab(55.97% 0.0131 -0.1108)
OKLCHoklch(55.97% 0.112 276.8)
XYZxyz(19.0621, 16.9818, 45.9805)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646DB5 #B5AC64
analogous
#6496B5 #646DB5 #8364B5
triadic
#646DB5 #B5646D #6DB564
tetradic
#646DB5 #B56496 #B5AC64 #64B583
square
#646DB5 #B56496 #B5AC64 #64B583
split-complementary
#646DB5 #B58364 #96B564
monochromatic
#33396B #475095 #646DB5 #8D94C9 #B7BBDD

Accessibility & contrast

On white

4.78
#646DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#646DB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646DB5
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646DB5#FFFFFF#000000##FFFFFF
##646DB51.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5376B8
Deuteranopia (green-blind)
#4C6FB3
Tritanopia (blue-blind)
#487C88
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #646db5;
/* rgb */ color: rgb(100, 109, 181);
/* oklch */ color: oklch(56.0% 0.112 276.8);
Tailwind
colors: {
  custom: {
    50: '#9496cb',
    500: '#646db5',
    950: '#000000',
  },
}
SCSS
$custom: #646db5;
$custom-light: #9496cb;
$custom-dark: #000000;
JSON
{
  "hex": "#646db5",
  "rgb": {
    "r": 100,
    "g": 109,
    "b": 181
  },
  "hsl": {
    "h": 233.333,
    "s": 35.371,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55969,
    "c": 0.11161,
    "h": 276.8
  },
  "luminance": 0.16983
}

Semantic roles & 50–950 ramp

primary
#646DB5
secondary
#CBC8A9
accent
#BF5CCB
background
#F9F9FC
surface
#F2F2F8
border
#CCCCD1
text
#0D0D13
muted
#7E7E82

Preview Lab

Preview with #646DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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