#646CB1#646CB1

#646CB1 is a mid, moderate blue. Relative luminance 0.166; OKLCH L 55.5% C 0.107 H 277.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#646CB1
RGBrgb(100, 108, 177)
HSLhsl(234, 33%, 54%)
HSVhsv(234, 44%, 69%)
CMYKcmyk(43.5%, 39%, 0%, 30.6%)
CIE-LABlab(47.76, 15.20, -37.72)
CIE-LCHlch(47.76, 40.67, 291.94°)
OKLaboklab(55.54% 0.0136 -0.1062)
OKLCHoklch(55.54% 0.107 277.3)
XYZxyz(18.5515, 16.6079, 43.8146)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CB1 #B1A964
analogous
#6493B1 #646CB1 #8364B1
triadic
#646CB1 #B1646C #6CB164
tetradic
#646CB1 #B16493 #B1A964 #64B183
square
#646CB1 #B16493 #B1A964 #64B183
split-complementary
#646CB1 #B18364 #93B164
monochromatic
#343967 #485090 #646CB1 #8D93C5 #B5B9DA

Accessibility & contrast

On white

4.86
#646CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#646CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646CB1
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CB1#FFFFFF#000000##FFFFFF
##646CB11.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5374B4
Deuteranopia (green-blind)
#4E6EAF
Tritanopia (blue-blind)
#4B7A86
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #646cb1;
/* rgb */ color: rgb(100, 108, 177);
/* oklch */ color: oklch(55.5% 0.107 277.3);
Tailwind
colors: {
  custom: {
    50: '#9496c8',
    500: '#646cb1',
    950: '#000000',
  },
}
SCSS
$custom: #646cb1;
$custom-light: #9496c8;
$custom-dark: #000000;
JSON
{
  "hex": "#646cb1",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 177
  },
  "hsl": {
    "h": 233.766,
    "s": 33.047,
    "l": 54.314
  },
  "oklch": {
    "l": 0.55538,
    "c": 0.10711,
    "h": 277.3
  },
  "luminance": 0.16609
}

Semantic roles & 50–950 ramp

primary
#646CB1
secondary
#C9C5A8
accent
#BE5FC9
background
#F9F9FC
surface
#F2F1F8
border
#CCCBD1
text
#0D0D13
muted
#7E7E82

Preview Lab

Preview with #646CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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