#646FAA#646FAA

#646FAA is a mid, moderate blue. Relative luminance 0.170; OKLCH L 55.8% C 0.093 H 275.0°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#646FAA
RGBrgb(100, 111, 170)
HSLhsl(231, 29%, 53%)
HSVhsv(231, 41%, 67%)
CMYKcmyk(41.2%, 34.7%, 0%, 33.3%)
CIE-LABlab(48.23, 11.29, -32.90)
CIE-LCHlch(48.23, 34.78, 288.93°)
OKLaboklab(55.79% 0.008 -0.0922)
OKLCHoklch(55.79% 0.093 275)
XYZxyz(18.1935, 16.9796, 40.3412)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646FAA #AA9F64
analogous
#6492AA #646FAA #7C64AA
triadic
#646FAA #AA646F #6FAA64
tetradic
#646FAA #AA6492 #AA9F64 #64AA7C
square
#646FAA #AA6492 #AA9F64 #64AA7C
split-complementary
#646FAA #AA7C64 #92AA64
monochromatic
#343B5F #4A5487 #646FAA #8C94C0 #B3B8D5

Accessibility & contrast

On white

4.78
#646FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#646FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646FAA
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646FAA#FFFFFF#000000##FFFFFF
##646FAA1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B75AC
Deuteranopia (green-blind)
#5670A9
Tritanopia (blue-blind)
#4E7B85
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #646faa;
/* rgb */ color: rgb(100, 111, 170);
/* oklch */ color: oklch(55.8% 0.093 275.0);
Tailwind
colors: {
  custom: {
    50: '#9398c3',
    500: '#646faa',
    950: '#000000',
  },
}
SCSS
$custom: #646faa;
$custom-light: #9398c3;
$custom-dark: #000000;
JSON
{
  "hex": "#646faa",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 170
  },
  "hsl": {
    "h": 230.571,
    "s": 29.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.55788,
    "c": 0.09257,
    "h": 275
  },
  "luminance": 0.1698
}

Semantic roles & 50–950 ramp

primary
#646FAA
secondary
#C4BFA6
accent
#B662C5
background
#F9F9FC
surface
#F1F2F8
border
#CBCCD1
text
#0D0D12
muted
#7E7E81

Preview Lab

Preview with #646FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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