#646BA2#646BA2

#646BA2 is a mid, moderate blue. Relative luminance 0.158; OKLCH L 54.5% C 0.086 H 277.6°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#646BA2
RGBrgb(100, 107, 162)
HSLhsl(233, 25%, 51%)
HSVhsv(233, 38%, 64%)
CMYKcmyk(38.3%, 34%, 0%, 36.5%)
CIE-LABlab(46.75, 11.40, -30.53)
CIE-LCHlch(46.75, 32.59, 290.48°)
OKLaboklab(54.52% 0.0114 -0.0854)
OKLCHoklch(54.52% 0.086 277.6)
XYZxyz(17.0329, 15.8327, 36.3340)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646BA2 #A29B64
analogous
#648AA2 #646BA2 #7C64A2
triadic
#646BA2 #A2646B #6BA264
tetradic
#646BA2 #A2648A #A29B64 #64A27C
square
#646BA2 #A2648A #A29B64 #64A27C
split-complementary
#646BA2 #A27C64 #8AA264
monochromatic
#343857 #4B517E #646BA2 #8A90B9 #B1B4D0

Accessibility & contrast

On white

5.04
#646BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#646BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646BA2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646BA2#FFFFFF#000000##FFFFFF
##646BA21.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5971A4
Deuteranopia (green-blind)
#556DA1
Tritanopia (blue-blind)
#52767F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #646ba2;
/* rgb */ color: rgb(100, 107, 162);
/* oklch */ color: oklch(54.5% 0.086 277.6);
Tailwind
colors: {
  custom: {
    50: '#9295be',
    500: '#646ba2',
    950: '#000000',
  },
}
SCSS
$custom: #646ba2;
$custom-light: #9295be;
$custom-dark: #000000;
JSON
{
  "hex": "#646ba2",
  "rgb": {
    "r": 100,
    "g": 107,
    "b": 162
  },
  "hsl": {
    "h": 233.226,
    "s": 25,
    "l": 51.373
  },
  "oklch": {
    "l": 0.54521,
    "c": 0.08611,
    "h": 277.6
  },
  "luminance": 0.15833
}

Semantic roles & 50–950 ramp

primary
#646BA2
secondary
#BFBBA3
accent
#B766C1
background
#F9F9FB
surface
#F1F1F6
border
#CBCBD0
text
#0D0D12
muted
#7E7E81

Preview Lab

Preview with #646BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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