#646CD1#646CD1

#646CD1 is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.5% C 0.153 H 277.0°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#646CD1
RGBrgb(100, 108, 209)
HSLhsl(236, 54%, 61%)
HSVhsv(236, 52%, 82%)
CMYKcmyk(52.2%, 48.3%, 0%, 18%)
CIE-LABlab(49.54, 25.07, -53.33)
CIE-LCHlch(49.54, 58.92, 295.18°)
OKLaboklab(57.47% 0.0187 -0.1519)
OKLCHoklch(57.47% 0.153 277)
XYZxyz(22.1231, 18.0365, 62.6249)
Luminance0.1804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CD1 #D1C964
analogous
#64A3D1 #646CD1 #9264D1
triadic
#646CD1 #D1646C #6CD164
tetradic
#646CD1 #D164A3 #D1C964 #64D192
square
#646CD1 #D164A3 #D1C964 #64D192
split-complementary
#646CD1 #D19264 #A3D164
monochromatic
#2B3290 #3943BF #646CD1 #9399DF #C2C6ED

Accessibility & contrast

On white

4.56
#646CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#646CD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646CD1
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CD1#FFFFFF#000000##000000
##646CD11.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7AD5
Deuteranopia (green-blind)
#3172CF
Tritanopia (blue-blind)
#348294
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #646cd1;
/* rgb */ color: rgb(100, 108, 209);
/* oklch */ color: oklch(57.5% 0.153 277.0);
Tailwind
colors: {
  custom: {
    50: '#9796e0',
    500: '#646cd1',
    950: '#000000',
  },
}
SCSS
$custom: #646cd1;
$custom-light: #9796e0;
$custom-dark: #000000;
JSON
{
  "hex": "#646cd1",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 209
  },
  "hsl": {
    "h": 235.596,
    "s": 54.229,
    "l": 60.588
  },
  "oklch": {
    "l": 0.57469,
    "c": 0.15308,
    "h": 277
  },
  "luminance": 0.18038
}

Semantic roles & 50–950 ramp

primary
#646CD1
secondary
#DDDAB4
accent
#B624C2
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #646CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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