#646CC5#646CC5

#646CC5 is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.7% C 0.136 H 277.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#646CC5
RGBrgb(100, 108, 197)
HSLhsl(235, 46%, 58%)
HSVhsv(235, 49%, 77%)
CMYKcmyk(49.2%, 45.2%, 0%, 22.7%)
CIE-LABlab(48.84, 21.31, -47.58)
CIE-LCHlch(48.84, 52.13, 294.13°)
OKLaboklab(56.71% 0.0172 -0.1351)
OKLCHoklch(56.71% 0.136 277.3)
XYZxyz(20.6930, 17.4645, 55.0931)
Luminance0.1747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CC5 #C5BD64
analogous
#649CC5 #646CC5 #8C64C5
triadic
#646CC5 #C5646C #6CC564
tetradic
#646CC5 #C5649C #C5BD64 #64C58C
square
#646CC5 #C5649C #C5BD64 #64C58C
split-complementary
#646CC5 #C58C64 #9CC564
monochromatic
#30367F #4049AC #646CC5 #9196D6 #BDC0E6

Accessibility & contrast

On white

4.67
#646CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#646CC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646CC5
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CC5#FFFFFF#000000##FFFFFF
##646CC51.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4778C8
Deuteranopia (green-blind)
#3E70C3
Tritanopia (blue-blind)
#3E7F8F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #646cc5;
/* rgb */ color: rgb(100, 108, 197);
/* oklch */ color: oklch(56.7% 0.136 277.3);
Tailwind
colors: {
  custom: {
    50: '#9696d7',
    500: '#646cc5',
    950: '#000000',
  },
}
SCSS
$custom: #646cc5;
$custom-light: #9696d7;
$custom-dark: #000000;
JSON
{
  "hex": "#646cc5",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 197
  },
  "hsl": {
    "h": 235.052,
    "s": 45.54,
    "l": 58.235
  },
  "oklch": {
    "l": 0.56712,
    "c": 0.13615,
    "h": 277.3
  },
  "luminance": 0.17466
}

Semantic roles & 50–950 ramp

primary
#646CC5
secondary
#D6D3AF
accent
#CA53D5
background
#F9F9FD
surface
#F2F1FA
border
#CCCBD3
text
#0E0D14
muted
#7E7E83

Preview Lab

Preview with #646CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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