#646FA6#646FA6

#646FA6 is a mid, moderate blue. Relative luminance 0.168; OKLCH L 55.6% C 0.087 H 274.6°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#646FA6
RGBrgb(100, 111, 166)
HSLhsl(230, 27%, 52%)
HSVhsv(230, 40%, 65%)
CMYKcmyk(39.8%, 33.1%, 0%, 34.9%)
CIE-LABlab(48.05, 10.12, -30.85)
CIE-LCHlch(48.05, 32.47, 288.15°)
OKLaboklab(55.58% 0.007 -0.0863)
OKLCHoklch(55.58% 0.087 274.6)
XYZxyz(17.8209, 16.8306, 38.3786)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646FA6 #A69B64
analogous
#6490A6 #646FA6 #7A64A6
triadic
#646FA6 #A6646F #6FA664
tetradic
#646FA6 #A66490 #A69B64 #64A67A
square
#646FA6 #A66490 #A69B64 #64A67A
split-complementary
#646FA6 #A67A64 #90A664
monochromatic
#343B5B #4B5482 #646FA6 #8B93BC #B2B7D3

Accessibility & contrast

On white

4.81
#646FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #646FA6
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646FA6#FFFFFF#000000##FFFFFF
##646FA61.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D75A8
Deuteranopia (green-blind)
#5870A5
Tritanopia (blue-blind)
#507A83
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #646fa6;
/* rgb */ color: rgb(100, 111, 166);
/* oklch */ color: oklch(55.6% 0.087 274.6);
Tailwind
colors: {
  custom: {
    50: '#9398c0',
    500: '#646fa6',
    950: '#000000',
  },
}
SCSS
$custom: #646fa6;
$custom-light: #9398c0;
$custom-dark: #000000;
JSON
{
  "hex": "#646fa6",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 166
  },
  "hsl": {
    "h": 230,
    "s": 27.049,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5558,
    "c": 0.08658,
    "h": 274.6
  },
  "luminance": 0.16831
}

Semantic roles & 50–950 ramp

primary
#646FA6
secondary
#C1BDA4
accent
#B464C3
background
#F9F9FB
surface
#F1F2F7
border
#CBCCD0
text
#0D0D12
muted
#7E7E81

Preview Lab

Preview with #646FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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