#646FAC#646FAC

#646FAC is a mid, moderate blue. Relative luminance 0.171; OKLCH L 55.9% C 0.096 H 275.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#646FAC
RGBrgb(100, 111, 172)
HSLhsl(231, 30%, 53%)
HSVhsv(231, 42%, 67%)
CMYKcmyk(41.9%, 35.5%, 0%, 32.5%)
CIE-LABlab(48.33, 11.87, -33.91)
CIE-LCHlch(48.33, 35.93, 289.30°)
OKLaboklab(55.89% 0.0085 -0.0952)
OKLCHoklch(55.89% 0.096 275.1)
XYZxyz(18.3841, 17.0559, 41.3452)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646FAC #ACA164
analogous
#6493AC #646FAC #7D64AC
triadic
#646FAC #AC646F #6FAC64
tetradic
#646FAC #AC6493 #ACA164 #64AC7D
square
#646FAC #AC6493 #ACA164 #64AC7D
split-complementary
#646FAC #AC7D64 #93AC64
monochromatic
#343B61 #4A5389 #646FAC #8C94C1 #B4B9D7

Accessibility & contrast

On white

4.76
#646FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#646FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646FAC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646FAC#FFFFFF#000000##FFFFFF
##646FAC1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A76AE
Deuteranopia (green-blind)
#5470AB
Tritanopia (blue-blind)
#4D7B85
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #646fac;
/* rgb */ color: rgb(100, 111, 172);
/* oklch */ color: oklch(55.9% 0.096 275.1);
Tailwind
colors: {
  custom: {
    50: '#9398c5',
    500: '#646fac',
    950: '#000000',
  },
}
SCSS
$custom: #646fac;
$custom-light: #9398c5;
$custom-dark: #000000;
JSON
{
  "hex": "#646fac",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 172
  },
  "hsl": {
    "h": 230.833,
    "s": 30.252,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55893,
    "c": 0.09554,
    "h": 275.1
  },
  "luminance": 0.17057
}

Semantic roles & 50–950 ramp

primary
#646FAC
secondary
#C5C1A6
accent
#B761C6
background
#F9F9FC
surface
#F2F2F8
border
#CCCCD1
text
#0D0D13
muted
#7E7E82

Preview Lab

Preview with #646FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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