#646CD8#646CD8

#646CD8 is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.9% C 0.163 H 276.9°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#646CD8
RGBrgb(100, 108, 216)
HSLhsl(236, 60%, 62%)
HSVhsv(236, 54%, 85%)
CMYKcmyk(53.7%, 50%, 0%, 15.3%)
CIE-LABlab(49.97, 27.28, -56.62)
CIE-LCHlch(49.97, 62.85, 295.72°)
OKLaboklab(57.93% 0.0194 -0.1616)
OKLCHoklch(57.93% 0.163 276.9)
XYZxyz(23.0088, 18.3908, 67.2898)
Luminance0.1839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CD8 #D8D064
analogous
#64A6D8 #646CD8 #9664D8
triadic
#646CD8 #D8646C #6CD864
tetradic
#646CD8 #D864A6 #D8D064 #64D896
square
#646CD8 #D864A6 #D8D064 #64D896
split-complementary
#646CD8 #D89664 #A6D864
monochromatic
#272F9B #333ECC #646CD8 #959AE4 #C6C9F1

Accessibility & contrast

On white

4.49
#646CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#646CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646CD8
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CD8#FFFFFF#000000##000000
##646CD81.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#367CDC
Deuteranopia (green-blind)
#2672D6
Tritanopia (blue-blind)
#2D8498
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #646cd8;
/* rgb */ color: rgb(100, 108, 216);
/* oklch */ color: oklch(57.9% 0.163 276.9);
Tailwind
colors: {
  custom: {
    50: '#9896e5',
    500: '#646cd8',
    950: '#000000',
  },
}
SCSS
$custom: #646cd8;
$custom-light: #9896e5;
$custom-dark: #000000;
JSON
{
  "hex": "#646cd8",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 216
  },
  "hsl": {
    "h": 235.862,
    "s": 59.794,
    "l": 61.961
  },
  "oklch": {
    "l": 0.57928,
    "c": 0.16278,
    "h": 276.9
  },
  "luminance": 0.18392
}

Semantic roles & 50–950 ramp

primary
#646CD8
secondary
#E1DEB7
accent
#BC1EC7
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #646CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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