#646FA5#646FA5

#646FA5 is a mid, moderate blue. Relative luminance 0.168; OKLCH L 55.5% C 0.085 H 274.5°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#646FA5
RGBrgb(100, 111, 165)
HSLhsl(230, 27%, 52%)
HSVhsv(230, 39%, 65%)
CMYKcmyk(39.4%, 32.7%, 0%, 35.3%)
CIE-LABlab(48.00, 9.83, -30.34)
CIE-LCHlch(48.00, 31.89, 287.95°)
OKLaboklab(55.53% 0.0067 -0.0848)
OKLCHoklch(55.53% 0.085 274.5)
XYZxyz(17.7295, 16.7940, 37.8974)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646FA5 #A59A64
analogous
#6490A5 #646FA5 #7A64A5
triadic
#646FA5 #A5646F #6FA564
tetradic
#646FA5 #A56490 #A59A64 #64A57A
square
#646FA5 #A56490 #A59A64 #64A57A
split-complementary
#646FA5 #A57A64 #90A564
monochromatic
#343B5A #4B5481 #646FA5 #8B93BB #B1B7D2

Accessibility & contrast

On white

4.82
#646FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#646FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646FA5
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646FA5#FFFFFF#000000##FFFFFF
##646FA51.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D75A7
Deuteranopia (green-blind)
#586FA4
Tritanopia (blue-blind)
#507A82
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #646fa5;
/* rgb */ color: rgb(100, 111, 165);
/* oklch */ color: oklch(55.5% 0.085 274.5);
Tailwind
colors: {
  custom: {
    50: '#9298c0',
    500: '#646fa5',
    950: '#000000',
  },
}
SCSS
$custom: #646fa5;
$custom-light: #9298c0;
$custom-dark: #000000;
JSON
{
  "hex": "#646fa5",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 165
  },
  "hsl": {
    "h": 229.846,
    "s": 26.531,
    "l": 51.961
  },
  "oklch": {
    "l": 0.55529,
    "c": 0.08508,
    "h": 274.5
  },
  "luminance": 0.16795
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #646FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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