#646396#646396

#646396 is a mid, moderate blue. Relative luminance 0.138; OKLCH L 52.2% C 0.080 H 284.2°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#646396
RGBrgb(100, 99, 150)
HSLhsl(241, 20%, 49%)
HSVhsv(241, 34%, 59%)
CMYKcmyk(33.3%, 34%, 0%, 41.2%)
CIE-LABlab(43.99, 12.92, -27.73)
CIE-LCHlch(43.99, 30.59, 294.99°)
OKLaboklab(52.21% 0.0195 -0.0773)
OKLCHoklch(52.21% 0.08 284.2)
XYZxyz(15.2209, 13.8346, 30.7166)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646396 #959663
analogous
#637C96 #646396 #7E6396
triadic
#646396 #966463 #639664
tetradic
#646396 #96637C #959663 #63967E
square
#646396 #96637C #959663 #63967E
split-complementary
#646396 #967E63 #7C9663
monochromatic
#33324C #4B4B71 #646396 #8787B0 #ACACC8

Accessibility & contrast

On white

5.57
#646396 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#646396 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646396
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646396#FFFFFF#000000##FFFFFF
##6463961.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546A98
Deuteranopia (green-blind)
#526695
Tritanopia (blue-blind)
#576C76
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #646396;
/* rgb */ color: rgb(100, 99, 150);
/* oklch */ color: oklch(52.2% 0.080 284.2);
Tailwind
colors: {
  custom: {
    50: '#928fb5',
    500: '#646396',
    950: '#000000',
  },
}
SCSS
$custom: #646396;
$custom-light: #928fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#646396",
  "rgb": {
    "r": 100,
    "g": 99,
    "b": 150
  },
  "hsl": {
    "h": 241.176,
    "s": 20.482,
    "l": 48.824
  },
  "oklch": {
    "l": 0.52211,
    "c": 0.07972,
    "h": 284.2
  },
  "luminance": 0.13835
}

Semantic roles & 50–950 ramp

primary
#646396
secondary
#B6B79E
accent
#BD6BBB
background
#F9F8FB
surface
#F1F0F6
border
#CBCBD0
text
#0D0C11
muted
#7E7D80

Preview Lab

Preview with #646396

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

Preview Lab → · Contrast checker → · Palette generator →

#646396 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva