#646CBC#646CBC

#646CBC is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.2% C 0.123 H 277.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#646CBC
RGBrgb(100, 108, 188)
HSLhsl(235, 40%, 56%)
HSVhsv(235, 47%, 74%)
CMYKcmyk(46.8%, 42.6%, 0%, 26.3%)
CIE-LABlab(48.34, 18.53, -43.19)
CIE-LCHlch(48.34, 46.99, 293.22°)
OKLaboklab(56.17% 0.0157 -0.1222)
OKLCHoklch(56.17% 0.123 277.3)
XYZxyz(19.6924, 17.0642, 49.8233)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CBC #BCB464
analogous
#6498BC #646CBC #8864BC
triadic
#646CBC #BC646C #6CBC64
tetradic
#646CBC #BC6498 #BCB464 #64BC88
square
#646CBC #BC6498 #BCB464 #64BC88
split-complementary
#646CBC #BC8864 #98BC64
monochromatic
#323874 #444D9E #646CBC #8F95CE #B9BDE1

Accessibility & contrast

On white

4.76
#646CBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#646CBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646CBC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CBC#FFFFFF#000000##FFFFFF
##646CBC1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D76BF
Deuteranopia (green-blind)
#466FBA
Tritanopia (blue-blind)
#447D8B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #646cbc;
/* rgb */ color: rgb(100, 108, 188);
/* oklch */ color: oklch(56.2% 0.123 277.3);
Tailwind
colors: {
  custom: {
    50: '#9596d0',
    500: '#646cbc',
    950: '#000000',
  },
}
SCSS
$custom: #646cbc;
$custom-light: #9596d0;
$custom-dark: #000000;
JSON
{
  "hex": "#646cbc",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 188
  },
  "hsl": {
    "h": 234.545,
    "s": 39.64,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56169,
    "c": 0.12321,
    "h": 277.3
  },
  "luminance": 0.17065
}

Semantic roles & 50–950 ramp

primary
#646CBC
secondary
#D0CDAC
accent
#C558D0
background
#F9F9FC
surface
#F2F1F9
border
#CCCBD2
text
#0E0D14
muted
#7E7E82

Preview Lab

Preview with #646CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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