#646CBF#646CBF

#646CBF is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.3% C 0.128 H 277.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#646CBF
RGBrgb(100, 108, 191)
HSLhsl(235, 42%, 57%)
HSVhsv(235, 48%, 75%)
CMYKcmyk(47.6%, 43.5%, 0%, 25.1%)
CIE-LABlab(48.50, 19.45, -44.66)
CIE-LCHlch(48.50, 48.71, 293.54°)
OKLaboklab(56.35% 0.0163 -0.1265)
OKLCHoklch(56.35% 0.128 277.3)
XYZxyz(20.0192, 17.1949, 51.5442)
Luminance0.1720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CBF #BFB764
analogous
#649ABF #646CBF #8964BF
triadic
#646CBF #BF646C #6CBF64
tetradic
#646CBF #BF649A #BFB764 #64BF89
square
#646CBF #BF649A #BFB764 #64BF89
split-complementary
#646CBF #BF8964 #9ABF64
monochromatic
#313777 #434CA3 #646CBF #8F95D1 #BBBEE3

Accessibility & contrast

On white

4.73
#646CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#646CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646CBF
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CBF#FFFFFF#000000##FFFFFF
##646CBF1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B77C2
Deuteranopia (green-blind)
#4470BD
Tritanopia (blue-blind)
#437D8C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #646cbf;
/* rgb */ color: rgb(100, 108, 191);
/* oklch */ color: oklch(56.3% 0.128 277.3);
Tailwind
colors: {
  custom: {
    50: '#9596d3',
    500: '#646cbf',
    950: '#000000',
  },
}
SCSS
$custom: #646cbf;
$custom-light: #9596d3;
$custom-dark: #000000;
JSON
{
  "hex": "#646cbf",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 191
  },
  "hsl": {
    "h": 234.725,
    "s": 41.553,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56348,
    "c": 0.12755,
    "h": 277.3
  },
  "luminance": 0.17196
}

Semantic roles & 50–950 ramp

primary
#646CBF
secondary
#D2CFAD
accent
#C756D1
background
#F9F9FD
surface
#F2F1FA
border
#CCCBD3
text
#0E0D14
muted
#7E7E83

Preview Lab

Preview with #646CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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