#646ABE#646ABE

#646ABE is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.9% C 0.129 H 278.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#646ABE
RGBrgb(100, 106, 190)
HSLhsl(236, 41%, 57%)
HSVhsv(236, 47%, 75%)
CMYKcmyk(47.4%, 44.2%, 0%, 25.5%)
CIE-LABlab(47.92, 20.37, -45.01)
CIE-LCHlch(47.92, 49.40, 294.36°)
OKLaboklab(55.89% 0.0185 -0.1275)
OKLCHoklch(55.89% 0.129 278.3)
XYZxyz(19.7010, 16.7341, 50.8971)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646ABE #BEB864
analogous
#6497BE #646ABE #8B64BE
triadic
#646ABE #BE646A #6ABE64
tetradic
#646ABE #BE6497 #BEB864 #64BE8B
square
#646ABE #BE6497 #BEB864 #64BE8B
split-complementary
#646ABE #BE8B64 #97BE64
monochromatic
#323676 #444AA1 #646ABE #8F93D0 #BABDE2

Accessibility & contrast

On white

4.83
#646ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#646ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646ABE
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646ABE#FFFFFF#000000##FFFFFF
##646ABE1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4875C1
Deuteranopia (green-blind)
#416EBC
Tritanopia (blue-blind)
#437C8B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #646abe;
/* rgb */ color: rgb(100, 106, 190);
/* oklch */ color: oklch(55.9% 0.129 278.3);
Tailwind
colors: {
  custom: {
    50: '#9594d2',
    500: '#646abe',
    950: '#000000',
  },
}
SCSS
$custom: #646abe;
$custom-light: #9594d2;
$custom-dark: #000000;
JSON
{
  "hex": "#646abe",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 190
  },
  "hsl": {
    "h": 236,
    "s": 40.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.55887,
    "c": 0.12888,
    "h": 278.3
  },
  "luminance": 0.16735
}

Semantic roles & 50–950 ramp

primary
#646ABE
secondary
#D1CFAD
accent
#C957D1
background
#F9F9FC
surface
#F2F1F9
border
#CCCBD2
text
#0E0D14
muted
#7E7E82

Preview Lab

Preview with #646ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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