#646CD6#646CD6

#646CD6 is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.8% C 0.160 H 276.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#646CD6
RGBrgb(100, 108, 214)
HSLhsl(236, 58%, 62%)
HSVhsv(236, 53%, 84%)
CMYKcmyk(53.3%, 49.5%, 0%, 16.1%)
CIE-LABlab(49.84, 26.64, -55.68)
CIE-LCHlch(49.84, 61.73, 295.57°)
OKLaboklab(57.8% 0.0192 -0.1589)
OKLCHoklch(57.8% 0.16 276.9)
XYZxyz(22.7518, 18.2880, 65.9363)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CD6 #D6CE64
analogous
#64A5D6 #646CD6 #9564D6
triadic
#646CD6 #D6646C #6CD664
tetradic
#646CD6 #D664A5 #D6CE64 #64D695
square
#646CD6 #D664A5 #D6CE64 #64D695
split-complementary
#646CD6 #D69564 #A5D664
monochromatic
#283098 #353FC8 #646CD6 #949AE3 #C5C8F0

Accessibility & contrast

On white

4.51
#646CD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#646CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646CD6
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CD6#FFFFFF#000000##000000
##646CD61.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#387BDA
Deuteranopia (green-blind)
#2972D4
Tritanopia (blue-blind)
#2F8397
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #646cd6;
/* rgb */ color: rgb(100, 108, 214);
/* oklch */ color: oklch(57.8% 0.160 276.9);
Tailwind
colors: {
  custom: {
    50: '#9896e3',
    500: '#646cd6',
    950: '#000000',
  },
}
SCSS
$custom: #646cd6;
$custom-light: #9896e3;
$custom-dark: #000000;
JSON
{
  "hex": "#646cd6",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 214
  },
  "hsl": {
    "h": 235.789,
    "s": 58.163,
    "l": 61.569
  },
  "oklch": {
    "l": 0.57796,
    "c": 0.16003,
    "h": 276.9
  },
  "luminance": 0.18289
}

Semantic roles & 50–950 ramp

primary
#646CD6
secondary
#E0DDB6
accent
#BA20C6
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0E0D15
muted
#7E7E84

Preview Lab

Preview with #646CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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