#646CA2#646CA2

#646CA2 is a mid, moderate blue. Relative luminance 0.160; OKLCH L 54.7% C 0.085 H 276.8°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#646CA2
RGBrgb(100, 108, 162)
HSLhsl(232, 25%, 51%)
HSVhsv(232, 38%, 64%)
CMYKcmyk(38.3%, 33.3%, 0%, 36.5%)
CIE-LABlab(47.03, 10.79, -30.09)
CIE-LCHlch(47.03, 31.97, 289.73°)
OKLaboklab(54.73% 0.01 -0.0841)
OKLCHoklch(54.73% 0.085 276.8)
XYZxyz(17.1378, 16.0424, 36.3689)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CA2 #A29A64
analogous
#648BA2 #646CA2 #7B64A2
triadic
#646CA2 #A2646C #6CA264
tetradic
#646CA2 #A2648B #A29A64 #64A27B
square
#646CA2 #A2648B #A29A64 #64A27B
split-complementary
#646CA2 #A27B64 #8BA264
monochromatic
#343957 #4B527E #646CA2 #8A90B9 #B1B5D0

Accessibility & contrast

On white

4.99
#646CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#646CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646CA2
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CA2#FFFFFF#000000##FFFFFF
##646CA21.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A72A4
Deuteranopia (green-blind)
#566DA1
Tritanopia (blue-blind)
#527780
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #646ca2;
/* rgb */ color: rgb(100, 108, 162);
/* oklch */ color: oklch(54.7% 0.085 276.8);
Tailwind
colors: {
  custom: {
    50: '#9296bd',
    500: '#646ca2',
    950: '#000000',
  },
}
SCSS
$custom: #646ca2;
$custom-light: #9296bd;
$custom-dark: #000000;
JSON
{
  "hex": "#646ca2",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 162
  },
  "hsl": {
    "h": 232.258,
    "s": 25,
    "l": 51.373
  },
  "oklch": {
    "l": 0.54734,
    "c": 0.0847,
    "h": 276.8
  },
  "luminance": 0.16043
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #646CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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