#646FA2#646FA2

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

Color values

HEX#646FA2
RGBrgb(100, 111, 162)
HSLhsl(229, 25%, 51%)
HSVhsv(229, 38%, 64%)
CMYKcmyk(38.3%, 31.5%, 0%, 36.5%)
CIE-LABlab(47.86, 8.96, -28.80)
CIE-LCHlch(47.86, 30.16, 287.29°)
OKLaboklab(55.38% 0.0059 -0.0804)
OKLCHoklch(55.38% 0.081 274.2)
XYZxyz(17.4596, 16.6861, 36.4762)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646FA2 #A29764
analogous
#648EA2 #646FA2 #7864A2
triadic
#646FA2 #A2646F #6FA264
tetradic
#646FA2 #A2648E #A29764 #64A278
square
#646FA2 #A2648E #A29764 #64A278
split-complementary
#646FA2 #A27864 #8EA264
monochromatic
#343B57 #4B547E #646FA2 #8A93B9 #B1B6D0

Accessibility & contrast

On white

4.84
#646FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#646FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646FA2
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646FA2#FFFFFF#000000##FFFFFF
##646FA21.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E74A4
Deuteranopia (green-blind)
#5A6FA1
Tritanopia (blue-blind)
#517981
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #646fa2;
/* rgb */ color: rgb(100, 111, 162);
/* oklch */ color: oklch(55.4% 0.081 274.2);
Tailwind
colors: {
  custom: {
    50: '#9298bd',
    500: '#646fa2',
    950: '#000000',
  },
}
SCSS
$custom: #646fa2;
$custom-light: #9298bd;
$custom-dark: #000000;
JSON
{
  "hex": "#646fa2",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 162
  },
  "hsl": {
    "h": 229.355,
    "s": 25,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55378,
    "c": 0.08058,
    "h": 274.2
  },
  "luminance": 0.16687
}

Semantic roles & 50–950 ramp

primary
#646FA2
secondary
#BFBAA3
accent
#B166C1
background
#F9F9FB
surface
#F1F2F6
border
#CBCCD0
text
#0D0D12
muted
#7E7E81

Preview Lab

Preview with #646FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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