#646CBE#646CBE

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

Color values

HEX#646CBE
RGBrgb(100, 108, 190)
HSLhsl(235, 41%, 57%)
HSVhsv(235, 47%, 75%)
CMYKcmyk(47.4%, 43.2%, 0%, 25.5%)
CIE-LABlab(48.45, 19.14, -44.17)
CIE-LCHlch(48.45, 48.14, 293.43°)
OKLaboklab(56.29% 0.0161 -0.1251)
OKLCHoklch(56.29% 0.126 277.3)
XYZxyz(19.9095, 17.1511, 50.9666)
Luminance0.1715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CBE #BEB664
analogous
#6499BE #646CBE #8964BE
triadic
#646CBE #BE646C #6CBE64
tetradic
#646CBE #BE6499 #BEB664 #64BE89
square
#646CBE #BE6499 #BEB664 #64BE89
split-complementary
#646CBE #BE8964 #99BE64
monochromatic
#323876 #444CA1 #646CBE #8F95D0 #BABEE2

Accessibility & contrast

On white

4.74
#646CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#646CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646CBE
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CBE#FFFFFF#000000##FFFFFF
##646CBE1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #646cbe;
/* rgb */ color: rgb(100, 108, 190);
/* oklch */ color: oklch(56.3% 0.126 277.3);
Tailwind
colors: {
  custom: {
    50: '#9596d2',
    500: '#646cbe',
    950: '#000000',
  },
}
SCSS
$custom: #646cbe;
$custom-light: #9596d2;
$custom-dark: #000000;
JSON
{
  "hex": "#646cbe",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 190
  },
  "hsl": {
    "h": 234.667,
    "s": 40.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56288,
    "c": 0.1261,
    "h": 277.3
  },
  "luminance": 0.17152
}

Semantic roles & 50–950 ramp

primary
#646CBE
secondary
#D1CEAD
accent
#C657D1
background
#F9F9FC
surface
#F2F1F9
border
#CCCBD2
text
#0E0D14
muted
#7E7E82

Preview Lab

Preview with #646CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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