#646DB6#646DB6

#646DB6 is a mid, moderate blue. Relative luminance 0.170; OKLCH L 56.0% C 0.113 H 276.8°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#646DB6
RGBrgb(100, 109, 182)
HSLhsl(233, 36%, 55%)
HSVhsv(233, 45%, 71%)
CMYKcmyk(45.1%, 40.1%, 0%, 28.6%)
CIE-LABlab(48.29, 16.09, -39.79)
CIE-LCHlch(48.29, 42.92, 292.02°)
OKLaboklab(56.03% 0.0133 -0.1123)
OKLCHoklch(56.03% 0.113 276.8)
XYZxyz(19.1651, 17.0230, 46.5228)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646DB6 #B6AD64
analogous
#6496B6 #646DB6 #8464B6
triadic
#646DB6 #B6646D #6DB664
tetradic
#646DB6 #B66496 #B6AD64 #64B684
square
#646DB6 #B66496 #B6AD64 #64B684
split-complementary
#646DB6 #B68464 #96B664
monochromatic
#33396C #474F96 #646DB6 #8E94CA #B7BBDD

Accessibility & contrast

On white

4.77
#646DB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#646DB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646DB6
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646DB6#FFFFFF#000000##FFFFFF
##646DB61.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5276B9
Deuteranopia (green-blind)
#4C70B4
Tritanopia (blue-blind)
#487C89
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #646db6;
/* rgb */ color: rgb(100, 109, 182);
/* oklch */ color: oklch(56.0% 0.113 276.8);
Tailwind
colors: {
  custom: {
    50: '#9496cc',
    500: '#646db6',
    950: '#000000',
  },
}
SCSS
$custom: #646db6;
$custom-light: #9496cc;
$custom-dark: #000000;
JSON
{
  "hex": "#646db6",
  "rgb": {
    "r": 100,
    "g": 109,
    "b": 182
  },
  "hsl": {
    "h": 233.415,
    "s": 35.965,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56026,
    "c": 0.11307,
    "h": 276.8
  },
  "luminance": 0.17024
}

Semantic roles & 50–950 ramp

primary
#646DB6
secondary
#CCC8AA
accent
#C05CCC
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0D0D13
muted
#7E7E82

Preview Lab

Preview with #646DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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