#646AA2#646AA2

#646AA2 is a mid, moderate blue. Relative luminance 0.156; OKLCH L 54.3% C 0.088 H 278.4°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#646AA2
RGBrgb(100, 106, 162)
HSLhsl(234, 25%, 51%)
HSVhsv(234, 38%, 64%)
CMYKcmyk(38.3%, 34.6%, 0%, 36.5%)
CIE-LABlab(46.48, 12.02, -30.96)
CIE-LCHlch(46.48, 33.21, 291.21°)
OKLaboklab(54.31% 0.0127 -0.0866)
OKLCHoklch(54.31% 0.088 278.4)
XYZxyz(16.9293, 15.6254, 36.2994)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646AA2 #A29C64
analogous
#6489A2 #646AA2 #7D64A2
triadic
#646AA2 #A2646A #6AA264
tetradic
#646AA2 #A26489 #A29C64 #64A27D
square
#646AA2 #A26489 #A29C64 #64A27D
split-complementary
#646AA2 #A27D64 #89A264
monochromatic
#343857 #4B507E #646AA2 #8A8FB9 #B1B4D0

Accessibility & contrast

On white

5.09
#646AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#646AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646AA2
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646AA2#FFFFFF#000000##FFFFFF
##646AA21.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5871A4
Deuteranopia (green-blind)
#546CA1
Tritanopia (blue-blind)
#52757E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #646aa2;
/* rgb */ color: rgb(100, 106, 162);
/* oklch */ color: oklch(54.3% 0.088 278.4);
Tailwind
colors: {
  custom: {
    50: '#9294be',
    500: '#646aa2',
    950: '#000000',
  },
}
SCSS
$custom: #646aa2;
$custom-light: #9294be;
$custom-dark: #000000;
JSON
{
  "hex": "#646aa2",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 162
  },
  "hsl": {
    "h": 234.194,
    "s": 25,
    "l": 51.373
  },
  "oklch": {
    "l": 0.54309,
    "c": 0.08754,
    "h": 278.4
  },
  "luminance": 0.15626
}

Semantic roles & 50–950 ramp

primary
#646AA2
secondary
#BFBCA3
accent
#B966C1
background
#F9F9FB
surface
#F1F1F6
border
#CBCBD0
text
#0D0D12
muted
#7E7E81

Preview Lab

Preview with #646AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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