#646CBB#646CBB

#646CBB is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.1% C 0.122 H 277.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#646CBB
RGBrgb(100, 108, 187)
HSLhsl(234, 39%, 56%)
HSVhsv(234, 47%, 73%)
CMYKcmyk(46.5%, 42.2%, 0%, 26.7%)
CIE-LABlab(48.29, 18.23, -42.69)
CIE-LCHlch(48.29, 46.42, 293.12°)
OKLaboklab(56.11% 0.0156 -0.1208)
OKLCHoklch(56.11% 0.122 277.3)
XYZxyz(19.5850, 17.0213, 49.2575)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CBB #BBB364
analogous
#6498BB #646CBB #8864BB
triadic
#646CBB #BB646C #6CBB64
tetradic
#646CBB #BB6498 #BBB364 #64BB88
square
#646CBB #BB6498 #BBB364 #64BB88
split-complementary
#646CBB #BB8864 #98BB64
monochromatic
#323872 #454D9D #646CBB #8F94CE #B9BDE0

Accessibility & contrast

On white

4.77
#646CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #646CBB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CBB#FFFFFF#000000##FFFFFF
##646CBB1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E76BE
Deuteranopia (green-blind)
#476FB9
Tritanopia (blue-blind)
#457C8A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #646cbb;
/* rgb */ color: rgb(100, 108, 187);
/* oklch */ color: oklch(56.1% 0.122 277.3);
Tailwind
colors: {
  custom: {
    50: '#9596d0',
    500: '#646cbb',
    950: '#000000',
  },
}
SCSS
$custom: #646cbb;
$custom-light: #9596d0;
$custom-dark: #000000;
JSON
{
  "hex": "#646cbb",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 187
  },
  "hsl": {
    "h": 234.483,
    "s": 39.013,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5611,
    "c": 0.12176,
    "h": 277.3
  },
  "luminance": 0.17022
}

Semantic roles & 50–950 ramp

primary
#646CBB
secondary
#CFCCAB
accent
#C459CF
background
#F9F9FC
surface
#F2F1F9
border
#CCCBD2
text
#0E0D14
muted
#7E7E82

Preview Lab

Preview with #646CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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