#646CA7#646CA7

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

Color values

HEX#646CA7
RGBrgb(100, 108, 167)
HSLhsl(233, 28%, 52%)
HSVhsv(233, 40%, 65%)
CMYKcmyk(40.1%, 35.3%, 0%, 34.5%)
CIE-LABlab(47.27, 12.24, -32.66)
CIE-LCHlch(47.27, 34.88, 290.55°)
OKLaboklab(54.99% 0.0113 -0.0915)
OKLCHoklch(54.99% 0.092 277)
XYZxyz(17.5911, 16.2237, 38.7563)
Luminance0.1622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CA7 #A79F64
analogous
#648DA7 #646CA7 #7E64A7
triadic
#646CA7 #A7646C #6CA764
tetradic
#646CA7 #A7648D #A79F64 #64A77E
square
#646CA7 #A7648D #A79F64 #64A77E
split-complementary
#646CA7 #A77E64 #8DA764
monochromatic
#34395C #4B5183 #646CA7 #8B91BD #B2B6D3

Accessibility & contrast

On white

4.95
#646CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #646CA7
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CA7#FFFFFF#000000##FFFFFF
##646CA71.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5873A9
Deuteranopia (green-blind)
#546EA6
Tritanopia (blue-blind)
#507882
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #646ca7;
/* rgb */ color: rgb(100, 108, 167);
/* oklch */ color: oklch(55.0% 0.092 277.0);
Tailwind
colors: {
  custom: {
    50: '#9396c1',
    500: '#646ca7',
    950: '#000000',
  },
}
SCSS
$custom: #646ca7;
$custom-light: #9396c1;
$custom-dark: #000000;
JSON
{
  "hex": "#646ca7",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 167
  },
  "hsl": {
    "h": 232.836,
    "s": 27.572,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54994,
    "c": 0.09222,
    "h": 277
  },
  "luminance": 0.16224
}

Semantic roles & 50–950 ramp

primary
#646CA7
secondary
#C2BFA5
accent
#B864C4
background
#F9F9FB
surface
#F1F1F7
border
#CBCBD0
text
#0D0D12
muted
#7E7E81

Preview Lab

Preview with #646CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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