#646DD6#646DD6

#646DD6 is a mid, vivid blue. Relative luminance 0.185; OKLCH L 58.0% C 0.159 H 276.6°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#646DD6
RGBrgb(100, 109, 214)
HSLhsl(235, 58%, 62%)
HSVhsv(235, 53%, 84%)
CMYKcmyk(53.3%, 49.1%, 0%, 16.1%)
CIE-LABlab(50.10, 26.03, -55.28)
CIE-LCHlch(50.10, 61.10, 295.22°)
OKLaboklab(57.99% 0.0181 -0.1577)
OKLCHoklch(57.99% 0.159 276.6)
XYZxyz(22.8579, 18.5002, 65.9717)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646DD6 #D6CD64
analogous
#64A6D6 #646DD6 #9464D6
triadic
#646DD6 #D6646D #6DD664
tetradic
#646DD6 #D664A6 #D6CD64 #64D694
square
#646DD6 #D664A6 #D6CD64 #64D694
split-complementary
#646DD6 #D69464 #A6D664
monochromatic
#283198 #3540C8 #646DD6 #949BE3 #C5C8F0

Accessibility & contrast

On white

4.47
#646DD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#646DD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646DD6
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646DD6#FFFFFF#000000##000000
##646DD61.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7CDA
Deuteranopia (green-blind)
#2C73D4
Tritanopia (blue-blind)
#2F8497
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #646dd6;
/* rgb */ color: rgb(100, 109, 214);
/* oklch */ color: oklch(58.0% 0.159 276.6);
Tailwind
colors: {
  custom: {
    50: '#9896e3',
    500: '#646dd6',
    950: '#000000',
  },
}
SCSS
$custom: #646dd6;
$custom-light: #9896e3;
$custom-dark: #000000;
JSON
{
  "hex": "#646dd6",
  "rgb": {
    "r": 100,
    "g": 109,
    "b": 214
  },
  "hsl": {
    "h": 235.263,
    "s": 58.163,
    "l": 61.569
  },
  "oklch": {
    "l": 0.57987,
    "c": 0.1587,
    "h": 276.6
  },
  "luminance": 0.18502
}

Semantic roles & 50–950 ramp

primary
#646DD6
secondary
#E0DDB6
accent
#B920C6
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0D15
muted
#7E7E84

Preview Lab

Preview with #646DD6

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

Preview Lab → · Contrast checker → · Palette generator →

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