#646DC6#646DC6

#646DC6 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 57.0% C 0.136 H 276.8°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#646DC6
RGBrgb(100, 109, 198)
HSLhsl(234, 46%, 58%)
HSVhsv(234, 49%, 78%)
CMYKcmyk(49.5%, 44.9%, 0%, 22.4%)
CIE-LABlab(49.16, 21.01, -47.65)
CIE-LCHlch(49.16, 52.07, 293.79°)
OKLaboklab(56.97% 0.0162 -0.1352)
OKLCHoklch(56.97% 0.136 276.8)
XYZxyz(20.9140, 17.7226, 55.7339)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646DC6 #C6BD64
analogous
#649EC6 #646DC6 #8C64C6
triadic
#646DC6 #C6646D #6DC664
tetradic
#646DC6 #C6649E #C6BD64 #64C68C
square
#646DC6 #C6649E #C6BD64 #64C68C
split-complementary
#646DC6 #C68C64 #9EC664
monochromatic
#2F3780 #404AAD #646DC6 #9197D6 #BDC1E7

Accessibility & contrast

On white

4.62
#646DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#646DC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #646DC6
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646DC6#FFFFFF#000000##FFFFFF
##646DC61.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4879C9
Deuteranopia (green-blind)
#3F71C4
Tritanopia (blue-blind)
#3D8090
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #646dc6;
/* rgb */ color: rgb(100, 109, 198);
/* oklch */ color: oklch(57.0% 0.136 276.8);
Tailwind
colors: {
  custom: {
    50: '#9696d8',
    500: '#646dc6',
    950: '#000000',
  },
}
SCSS
$custom: #646dc6;
$custom-light: #9696d8;
$custom-dark: #000000;
JSON
{
  "hex": "#646dc6",
  "rgb": {
    "r": 100,
    "g": 109,
    "b": 198
  },
  "hsl": {
    "h": 234.49,
    "s": 46.226,
    "l": 58.431
  },
  "oklch": {
    "l": 0.56972,
    "c": 0.13621,
    "h": 276.8
  },
  "luminance": 0.17724
}

Semantic roles & 50–950 ramp

primary
#646DC6
secondary
#D6D3AF
accent
#CA52D6
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0D14
muted
#7E7E83

Preview Lab

Preview with #646DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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