#646DD8#646DD8

#646DD8 is a mid, vivid blue. Relative luminance 0.186; OKLCH L 58.1% C 0.161 H 276.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#646DD8
RGBrgb(100, 109, 216)
HSLhsl(235, 60%, 62%)
HSVhsv(235, 54%, 85%)
CMYKcmyk(53.7%, 49.5%, 0%, 15.3%)
CIE-LABlab(50.22, 26.67, -56.22)
CIE-LCHlch(50.22, 62.22, 295.38°)
OKLaboklab(58.12% 0.0183 -0.1604)
OKLCHoklch(58.12% 0.161 276.5)
XYZxyz(23.1149, 18.6030, 67.3251)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646DD8 #D8CF64
analogous
#64A7D8 #646DD8 #9564D8
triadic
#646DD8 #D8646D #6DD864
tetradic
#646DD8 #D864A7 #D8CF64 #64D895
square
#646DD8 #D864A7 #D8CF64 #64D895
split-complementary
#646DD8 #D89564 #A7D864
monochromatic
#27309B #333FCC #646DD8 #959BE4 #C6C9F1

Accessibility & contrast

On white

4.45
#646DD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#646DD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646DD8
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646DD8#FFFFFF#000000##000000
##646DD81.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#387CDC
Deuteranopia (green-blind)
#2973D6
Tritanopia (blue-blind)
#2C8598
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #646dd8;
/* rgb */ color: rgb(100, 109, 216);
/* oklch */ color: oklch(58.1% 0.161 276.5);
Tailwind
colors: {
  custom: {
    50: '#9896e5',
    500: '#646dd8',
    950: '#000000',
  },
}
SCSS
$custom: #646dd8;
$custom-light: #9896e5;
$custom-dark: #000000;
JSON
{
  "hex": "#646dd8",
  "rgb": {
    "r": 100,
    "g": 109,
    "b": 216
  },
  "hsl": {
    "h": 235.345,
    "s": 59.794,
    "l": 61.961
  },
  "oklch": {
    "l": 0.58118,
    "c": 0.16146,
    "h": 276.5
  },
  "luminance": 0.18604
}

Semantic roles & 50–950 ramp

primary
#646DD8
secondary
#E1DEB7
accent
#BA1EC7
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #646DD8

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

Preview Lab → · Contrast checker → · Palette generator →

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