#646FA8#646FA8

#646FA8 is a mid, moderate blue. Relative luminance 0.169; OKLCH L 55.7% C 0.090 H 274.8°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#646FA8
RGBrgb(100, 111, 168)
HSLhsl(230, 28%, 53%)
HSVhsv(230, 40%, 66%)
CMYKcmyk(40.5%, 33.9%, 0%, 34.1%)
CIE-LABlab(48.14, 10.70, -31.88)
CIE-LCHlch(48.14, 33.62, 288.55°)
OKLaboklab(55.68% 0.0075 -0.0893)
OKLCHoklch(55.68% 0.09 274.8)
XYZxyz(18.0057, 16.9045, 39.3524)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646FA8 #A89D64
analogous
#6491A8 #646FA8 #7B64A8
triadic
#646FA8 #A8646F #6FA864
tetradic
#646FA8 #A86491 #A89D64 #64A87B
square
#646FA8 #A86491 #A89D64 #64A87B
split-complementary
#646FA8 #A87B64 #91A864
monochromatic
#343B5D #4A5484 #646FA8 #8B93BE #B2B8D4

Accessibility & contrast

On white

4.79
#646FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#646FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646FA8
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646FA8#FFFFFF#000000##FFFFFF
##646FA81.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C75AA
Deuteranopia (green-blind)
#5770A7
Tritanopia (blue-blind)
#4F7A84
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #646fa8;
/* rgb */ color: rgb(100, 111, 168);
/* oklch */ color: oklch(55.7% 0.090 274.8);
Tailwind
colors: {
  custom: {
    50: '#9398c2',
    500: '#646fa8',
    950: '#000000',
  },
}
SCSS
$custom: #646fa8;
$custom-light: #9398c2;
$custom-dark: #000000;
JSON
{
  "hex": "#646fa8",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 168
  },
  "hsl": {
    "h": 230.294,
    "s": 28.099,
    "l": 52.549
  },
  "oklch": {
    "l": 0.55683,
    "c": 0.08957,
    "h": 274.8
  },
  "luminance": 0.16905
}

Semantic roles & 50–950 ramp

primary
#646FA8
secondary
#C3BEA5
accent
#B563C4
background
#F9F9FB
surface
#F1F2F7
border
#CBCCD0
text
#0D0D12
muted
#7E7E81

Preview Lab

Preview with #646FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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