#646CA6#646CA6

#646CA6 is a mid, moderate blue. Relative luminance 0.162; OKLCH L 54.9% C 0.091 H 277.0°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#646CA6
RGBrgb(100, 108, 166)
HSLhsl(233, 27%, 52%)
HSVhsv(233, 40%, 65%)
CMYKcmyk(39.8%, 34.9%, 0%, 34.9%)
CIE-LABlab(47.22, 11.95, -32.15)
CIE-LCHlch(47.22, 34.30, 290.39°)
OKLaboklab(54.94% 0.011 -0.09)
OKLCHoklch(54.94% 0.091 277)
XYZxyz(17.4990, 16.1869, 38.2714)
Luminance0.1619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CA6 #A69E64
analogous
#648DA6 #646CA6 #7D64A6
triadic
#646CA6 #A6646C #6CA664
tetradic
#646CA6 #A6648D #A69E64 #64A67D
square
#646CA6 #A6648D #A69E64 #64A67D
split-complementary
#646CA6 #A67D64 #8DA664
monochromatic
#34395B #4B5182 #646CA6 #8B91BC #B2B6D3

Accessibility & contrast

On white

4.96
#646CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#646CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646CA6
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CA6#FFFFFF#000000##FFFFFF
##646CA61.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5973A8
Deuteranopia (green-blind)
#546EA5
Tritanopia (blue-blind)
#507781
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #646ca6;
/* rgb */ color: rgb(100, 108, 166);
/* oklch */ color: oklch(54.9% 0.091 277.0);
Tailwind
colors: {
  custom: {
    50: '#9396c0',
    500: '#646ca6',
    950: '#000000',
  },
}
SCSS
$custom: #646ca6;
$custom-light: #9396c0;
$custom-dark: #000000;
JSON
{
  "hex": "#646ca6",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 166
  },
  "hsl": {
    "h": 232.727,
    "s": 27.049,
    "l": 52.157
  },
  "oklch": {
    "l": 0.54942,
    "c": 0.09072,
    "h": 277
  },
  "luminance": 0.16188
}

Semantic roles & 50–950 ramp

primary
#646CA6
secondary
#C1BEA4
accent
#B864C3
background
#F9F9FB
surface
#F1F1F7
border
#CBCBD0
text
#0D0D12
muted
#7E7E81

Preview Lab

Preview with #646CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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