#646FB2#646FB2

#646FB2 is a mid, moderate blue. Relative luminance 0.173; OKLCH L 56.2% C 0.104 H 275.4°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#646FB2
RGBrgb(100, 111, 178)
HSLhsl(232, 34%, 55%)
HSVhsv(232, 44%, 70%)
CMYKcmyk(43.8%, 37.6%, 0%, 30.2%)
CIE-LABlab(48.63, 13.66, -36.94)
CIE-LCHlch(48.63, 39.39, 290.29°)
OKLaboklab(56.22% 0.0099 -0.104)
OKLCHoklch(56.22% 0.104 275.4)
XYZxyz(18.9734, 17.2916, 44.4487)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646FB2 #B2A764
analogous
#6496B2 #646FB2 #8064B2
triadic
#646FB2 #B2646F #6FB264
tetradic
#646FB2 #B26496 #B2A764 #64B280
square
#646FB2 #B26496 #B2A764 #64B280
split-complementary
#646FB2 #B28064 #96B264
monochromatic
#343B68 #485291 #646FB2 #8D95C6 #B6BBDB

Accessibility & contrast

On white

4.71
#646FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#646FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646FB2
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646FB2#FFFFFF#000000##FFFFFF
##646FB21.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5777B5
Deuteranopia (green-blind)
#5171B0
Tritanopia (blue-blind)
#4A7D88
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #646fb2;
/* rgb */ color: rgb(100, 111, 178);
/* oklch */ color: oklch(56.2% 0.104 275.4);
Tailwind
colors: {
  custom: {
    50: '#9498c9',
    500: '#646fb2',
    950: '#000000',
  },
}
SCSS
$custom: #646fb2;
$custom-light: #9498c9;
$custom-dark: #000000;
JSON
{
  "hex": "#646fb2",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 178
  },
  "hsl": {
    "h": 231.538,
    "s": 33.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56217,
    "c": 0.10443,
    "h": 275.4
  },
  "luminance": 0.17293
}

Semantic roles & 50–950 ramp

primary
#646FB2
secondary
#C9C5A8
accent
#BB5ECA
background
#F9F9FC
surface
#F2F2F8
border
#CCCCD1
text
#0D0D13
muted
#7E7E82

Preview Lab

Preview with #646FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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