#646EA5#646EA5

#646EA5 is a mid, moderate blue. Relative luminance 0.166; OKLCH L 55.3% C 0.086 H 275.3°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#646EA5
RGBrgb(100, 110, 165)
HSLhsl(231, 27%, 52%)
HSVhsv(231, 39%, 65%)
CMYKcmyk(39.4%, 33.3%, 0%, 35.3%)
CIE-LABlab(47.72, 10.44, -30.77)
CIE-LCHlch(47.72, 32.49, 288.73°)
OKLaboklab(55.32% 0.0081 -0.0861)
OKLCHoklch(55.32% 0.086 275.3)
XYZxyz(17.6210, 16.5770, 37.8612)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646EA5 #A59B64
analogous
#648FA5 #646EA5 #7B64A5
triadic
#646EA5 #A5646E #6EA564
tetradic
#646EA5 #A5648F #A59B64 #64A57B
square
#646EA5 #A5648F #A59B64 #64A57B
split-complementary
#646EA5 #A57B64 #8FA564
monochromatic
#343A5A #4B5381 #646EA5 #8B92BB #B1B6D2

Accessibility & contrast

On white

4.87
#646EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #646EA5
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646EA5#FFFFFF#000000##FFFFFF
##646EA51.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C74A7
Deuteranopia (green-blind)
#576FA4
Tritanopia (blue-blind)
#507982
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #646ea5;
/* rgb */ color: rgb(100, 110, 165);
/* oklch */ color: oklch(55.3% 0.086 275.3);
Tailwind
colors: {
  custom: {
    50: '#9297c0',
    500: '#646ea5',
    950: '#000000',
  },
}
SCSS
$custom: #646ea5;
$custom-light: #9297c0;
$custom-dark: #000000;
JSON
{
  "hex": "#646ea5",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 165
  },
  "hsl": {
    "h": 230.769,
    "s": 26.531,
    "l": 51.961
  },
  "oklch": {
    "l": 0.55315,
    "c": 0.08645,
    "h": 275.3
  },
  "luminance": 0.16578
}

Semantic roles & 50–950 ramp

primary
#646EA5
secondary
#C1BCA4
accent
#B465C3
background
#F9F9FB
surface
#F1F2F7
border
#CBCCD0
text
#0D0D12
muted
#7E7E81

Preview Lab

Preview with #646EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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