#646DD7#646DD7

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

Color values

HEX#646DD7
RGBrgb(100, 109, 215)
HSLhsl(235, 59%, 62%)
HSVhsv(235, 53%, 84%)
CMYKcmyk(53.5%, 49.3%, 0%, 15.7%)
CIE-LABlab(50.16, 26.35, -55.75)
CIE-LCHlch(50.16, 61.66, 295.30°)
OKLaboklab(58.05% 0.0182 -0.159)
OKLCHoklch(58.05% 0.16 276.5)
XYZxyz(22.9860, 18.5514, 66.6463)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646DD7 #D7CE64
analogous
#64A7D7 #646DD7 #9564D7
triadic
#646DD7 #D7646D #6DD764
tetradic
#646DD7 #D764A7 #D7CE64 #64D795
square
#646DD7 #D764A7 #D7CE64 #64D795
split-complementary
#646DD7 #D79564 #A7D764
monochromatic
#283099 #3440CA #646DD7 #959BE4 #C5C9F0

Accessibility & contrast

On white

4.46
#646DD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#646DD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646DD7
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646DD7#FFFFFF#000000##000000
##646DD71.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#397CDB
Deuteranopia (green-blind)
#2A73D5
Tritanopia (blue-blind)
#2D8598
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #646dd7;
/* rgb */ color: rgb(100, 109, 215);
/* oklch */ color: oklch(58.1% 0.160 276.5);
Tailwind
colors: {
  custom: {
    50: '#9896e4',
    500: '#646dd7',
    950: '#000000',
  },
}
SCSS
$custom: #646dd7;
$custom-light: #9896e4;
$custom-dark: #000000;
JSON
{
  "hex": "#646dd7",
  "rgb": {
    "r": 100,
    "g": 109,
    "b": 215
  },
  "hsl": {
    "h": 235.304,
    "s": 58.974,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58053,
    "c": 0.16008,
    "h": 276.5
  },
  "luminance": 0.18553
}

Semantic roles & 50–950 ramp

primary
#646DD7
secondary
#E1DDB6
accent
#B91FC7
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #646DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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