#646EA7#646EA7

#646EA7 is a mid, moderate blue. Relative luminance 0.167; OKLCH L 55.4% C 0.089 H 275.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#646EA7
RGBrgb(100, 110, 167)
HSLhsl(231, 28%, 52%)
HSVhsv(231, 40%, 65%)
CMYKcmyk(40.1%, 34.1%, 0%, 34.5%)
CIE-LABlab(47.82, 11.02, -31.80)
CIE-LCHlch(47.82, 33.65, 289.11°)
OKLaboklab(55.42% 0.0086 -0.089)
OKLCHoklch(55.42% 0.089 275.5)
XYZxyz(17.8044, 16.6504, 38.8275)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646EA7 #A79D64
analogous
#648FA7 #646EA7 #7C64A7
triadic
#646EA7 #A7646E #6EA764
tetradic
#646EA7 #A7648F #A79D64 #64A77C
square
#646EA7 #A7648F #A79D64 #64A77C
split-complementary
#646EA7 #A77C64 #8FA764
monochromatic
#343A5C #4B5383 #646EA7 #8B93BD #B2B7D3

Accessibility & contrast

On white

4.85
#646EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#646EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646EA7
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646EA7#FFFFFF#000000##FFFFFF
##646EA71.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B74A9
Deuteranopia (green-blind)
#566FA6
Tritanopia (blue-blind)
#4F7983
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #646ea7;
/* rgb */ color: rgb(100, 110, 167);
/* oklch */ color: oklch(55.4% 0.089 275.5);
Tailwind
colors: {
  custom: {
    50: '#9397c1',
    500: '#646ea7',
    950: '#000000',
  },
}
SCSS
$custom: #646ea7;
$custom-light: #9397c1;
$custom-dark: #000000;
JSON
{
  "hex": "#646ea7",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 167
  },
  "hsl": {
    "h": 231.045,
    "s": 27.572,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55419,
    "c": 0.08945,
    "h": 275.5
  },
  "luminance": 0.16651
}

Semantic roles & 50–950 ramp

primary
#646EA7
secondary
#C2BEA5
accent
#B664C4
background
#F9F9FB
surface
#F1F2F7
border
#CBCCD0
text
#0D0D12
muted
#7E7E81

Preview Lab

Preview with #646EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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