#646FA7#646FA7

#646FA7 is a mid, moderate blue. Relative luminance 0.169; OKLCH L 55.6% C 0.088 H 274.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#646FA7
RGBrgb(100, 111, 167)
HSLhsl(230, 28%, 52%)
HSVhsv(230, 40%, 65%)
CMYKcmyk(40.1%, 33.5%, 0%, 34.5%)
CIE-LABlab(48.09, 10.41, -31.37)
CIE-LCHlch(48.09, 33.05, 288.36°)
OKLaboklab(55.63% 0.0072 -0.0878)
OKLCHoklch(55.63% 0.088 274.7)
XYZxyz(17.9129, 16.8674, 38.8636)
Luminance0.1687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646FA7 #A79C64
analogous
#6491A7 #646FA7 #7A64A7
triadic
#646FA7 #A7646F #6FA764
tetradic
#646FA7 #A76491 #A79C64 #64A77A
square
#646FA7 #A76491 #A79C64 #64A77A
split-complementary
#646FA7 #A77A64 #91A764
monochromatic
#343B5C #4B5483 #646FA7 #8B93BD #B2B8D3

Accessibility & contrast

On white

4.80
#646FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#646FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646FA7
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646FA7#FFFFFF#000000##FFFFFF
##646FA71.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C75A9
Deuteranopia (green-blind)
#5770A6
Tritanopia (blue-blind)
#4F7A83
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #646fa7;
/* rgb */ color: rgb(100, 111, 167);
/* oklch */ color: oklch(55.6% 0.088 274.7);
Tailwind
colors: {
  custom: {
    50: '#9398c1',
    500: '#646fa7',
    950: '#000000',
  },
}
SCSS
$custom: #646fa7;
$custom-light: #9398c1;
$custom-dark: #000000;
JSON
{
  "hex": "#646fa7",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 167
  },
  "hsl": {
    "h": 230.149,
    "s": 27.572,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55632,
    "c": 0.08808,
    "h": 274.7
  },
  "luminance": 0.16868
}

Semantic roles & 50–950 ramp

primary
#646FA7
secondary
#C2BDA5
accent
#B464C4
background
#F9F9FB
surface
#F1F2F7
border
#CBCCD0
text
#0D0D12
muted
#7E7E81

Preview Lab

Preview with #646FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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