#646CB7#646CB7

#646CB7 is a mid, moderate blue. Relative luminance 0.169; OKLCH L 55.9% C 0.116 H 277.3°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#646CB7
RGBrgb(100, 108, 183)
HSLhsl(234, 37%, 55%)
HSVhsv(234, 45%, 72%)
CMYKcmyk(45.4%, 41%, 0%, 28.2%)
CIE-LABlab(48.07, 17.01, -40.71)
CIE-LCHlch(48.07, 44.12, 292.67°)
OKLaboklab(55.88% 0.0148 -0.115)
OKLCHoklch(55.88% 0.116 277.3)
XYZxyz(19.1627, 16.8524, 47.0337)
Luminance0.1685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CB7 #B7AF64
analogous
#6495B7 #646CB7 #8564B7
triadic
#646CB7 #B7646C #6CB764
tetradic
#646CB7 #B76495 #B7AF64 #64B785
square
#646CB7 #B76495 #B7AF64 #64B785
split-complementary
#646CB7 #B78564 #95B764
monochromatic
#33396E #464E97 #646CB7 #8E94CA #B8BBDE

Accessibility & contrast

On white

4.80
#646CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#646CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646CB7
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CB7#FFFFFF#000000##FFFFFF
##646CB71.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5075BA
Deuteranopia (green-blind)
#4A6FB5
Tritanopia (blue-blind)
#477B89
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #646cb7;
/* rgb */ color: rgb(100, 108, 183);
/* oklch */ color: oklch(55.9% 0.116 277.3);
Tailwind
colors: {
  custom: {
    50: '#9496cd',
    500: '#646cb7',
    950: '#000000',
  },
}
SCSS
$custom: #646cb7;
$custom-light: #9496cd;
$custom-dark: #000000;
JSON
{
  "hex": "#646cb7",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 183
  },
  "hsl": {
    "h": 234.217,
    "s": 36.564,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55878,
    "c": 0.11593,
    "h": 277.3
  },
  "luminance": 0.16853
}

Semantic roles & 50–950 ramp

primary
#646CB7
secondary
#CDC9AA
accent
#C25BCD
background
#F9F9FC
surface
#F2F1F9
border
#CCCBD2
text
#0D0D13
muted
#7E7E82

Preview Lab

Preview with #646CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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