#646ABC#646ABC

#646ABC is a mid, vivid blue. Relative luminance 0.166; OKLCH L 55.8% C 0.126 H 278.3°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#646ABC
RGBrgb(100, 106, 188)
HSLhsl(236, 40%, 56%)
HSVhsv(236, 47%, 74%)
CMYKcmyk(46.8%, 43.6%, 0%, 26.3%)
CIE-LABlab(47.81, 19.76, -44.03)
CIE-LCHlch(47.81, 48.26, 294.17°)
OKLaboklab(55.77% 0.0182 -0.1247)
OKLCHoklch(55.77% 0.126 278.3)
XYZxyz(19.4839, 16.6472, 49.7538)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646ABC #BCB664
analogous
#6496BC #646ABC #8A64BC
triadic
#646ABC #BC646A #6ABC64
tetradic
#646ABC #BC6496 #BCB664 #64BC8A
square
#646ABC #BC6496 #BCB664 #64BC8A
split-complementary
#646ABC #BC8A64 #96BC64
monochromatic
#323674 #444B9E #646ABC #8F93CE #B9BCE1

Accessibility & contrast

On white

4.85
#646ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#646ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646ABC
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646ABC#FFFFFF#000000##FFFFFF
##646ABC1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A75BF
Deuteranopia (green-blind)
#436EBA
Tritanopia (blue-blind)
#457B8A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #646abc;
/* rgb */ color: rgb(100, 106, 188);
/* oklch */ color: oklch(55.8% 0.126 278.3);
Tailwind
colors: {
  custom: {
    50: '#9594d0',
    500: '#646abc',
    950: '#000000',
  },
}
SCSS
$custom: #646abc;
$custom-light: #9594d0;
$custom-dark: #000000;
JSON
{
  "hex": "#646abc",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 188
  },
  "hsl": {
    "h": 235.909,
    "s": 39.64,
    "l": 56.471
  },
  "oklch": {
    "l": 0.55766,
    "c": 0.12599,
    "h": 278.3
  },
  "luminance": 0.16648
}

Semantic roles & 50–950 ramp

primary
#646ABC
secondary
#D0CEAC
accent
#C758D0
background
#F9F9FC
surface
#F2F1F9
border
#CCCBD2
text
#0E0D14
muted
#7E7E82

Preview Lab

Preview with #646ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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