#646CB9#646CB9

#646CB9 is a mid, moderate blue. Relative luminance 0.169; OKLCH L 56.0% C 0.119 H 277.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#646CB9
RGBrgb(100, 108, 185)
HSLhsl(234, 38%, 56%)
HSVhsv(234, 46%, 73%)
CMYKcmyk(45.9%, 41.6%, 0%, 27.5%)
CIE-LABlab(48.18, 17.62, -41.71)
CIE-LCHlch(48.18, 45.27, 292.90°)
OKLaboklab(55.99% 0.0152 -0.1179)
OKLCHoklch(55.99% 0.119 277.3)
XYZxyz(19.3724, 16.9362, 48.1378)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CB9 #B9B164
analogous
#6496B9 #646CB9 #8664B9
triadic
#646CB9 #B9646C #6CB964
tetradic
#646CB9 #B96496 #B9B164 #64B986
square
#646CB9 #B96496 #B9B164 #64B986
split-complementary
#646CB9 #B98664 #96B964
monochromatic
#333870 #464E9A #646CB9 #8E94CC #B8BCDF

Accessibility & contrast

On white

4.79
#646CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#646CB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646CB9
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CB9#FFFFFF#000000##FFFFFF
##646CB91.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F76BC
Deuteranopia (green-blind)
#486FB7
Tritanopia (blue-blind)
#467C89
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #646cb9;
/* rgb */ color: rgb(100, 108, 185);
/* oklch */ color: oklch(56.0% 0.119 277.3);
Tailwind
colors: {
  custom: {
    50: '#9596ce',
    500: '#646cb9',
    950: '#000000',
  },
}
SCSS
$custom: #646cb9;
$custom-light: #9596ce;
$custom-dark: #000000;
JSON
{
  "hex": "#646cb9",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 185
  },
  "hsl": {
    "h": 234.353,
    "s": 37.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55994,
    "c": 0.11884,
    "h": 277.3
  },
  "luminance": 0.16937
}

Semantic roles & 50–950 ramp

primary
#646CB9
secondary
#CECBAB
accent
#C35ACE
background
#F9F9FC
surface
#F2F1F9
border
#CCCBD2
text
#0E0D14
muted
#7E7E82

Preview Lab

Preview with #646CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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