#646FA3#646FA3

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

Color values

HEX#646FA3
RGBrgb(100, 111, 163)
HSLhsl(230, 26%, 52%)
HSVhsv(230, 39%, 64%)
CMYKcmyk(38.7%, 31.9%, 0%, 36.1%)
CIE-LABlab(47.91, 9.25, -29.31)
CIE-LCHlch(47.91, 30.74, 287.51°)
OKLaboklab(55.43% 0.0061 -0.0819)
OKLCHoklch(55.43% 0.082 274.3)
XYZxyz(17.5489, 16.7218, 36.9462)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646FA3 #A39864
analogous
#648FA3 #646FA3 #7964A3
triadic
#646FA3 #A3646F #6FA364
tetradic
#646FA3 #A3648F #A39864 #64A379
square
#646FA3 #A3648F #A39864 #64A379
split-complementary
#646FA3 #A37964 #8FA364
monochromatic
#343B58 #4B547F #646FA3 #8A93BA #B1B6D1

Accessibility & contrast

On white

4.83
#646FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #646FA3
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646FA3#FFFFFF#000000##FFFFFF
##646FA31.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E74A5
Deuteranopia (green-blind)
#596FA2
Tritanopia (blue-blind)
#517982
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #646fa3;
/* rgb */ color: rgb(100, 111, 163);
/* oklch */ color: oklch(55.4% 0.082 274.3);
Tailwind
colors: {
  custom: {
    50: '#9298be',
    500: '#646fa3',
    950: '#000000',
  },
}
SCSS
$custom: #646fa3;
$custom-light: #9298be;
$custom-dark: #000000;
JSON
{
  "hex": "#646fa3",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 163
  },
  "hsl": {
    "h": 229.524,
    "s": 25.506,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55428,
    "c": 0.08208,
    "h": 274.3
  },
  "luminance": 0.16723
}

Semantic roles & 50–950 ramp

primary
#646FA3
secondary
#BFBAA4
accent
#B266C2
background
#F9F9FB
surface
#F1F2F7
border
#CBCCD0
text
#0D0D12
muted
#7E7E81

Preview Lab

Preview with #646FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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