#646DCC#646DCC

#646DCC is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.3% C 0.145 H 276.7°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#646DCC
RGBrgb(100, 109, 204)
HSLhsl(235, 50%, 60%)
HSVhsv(235, 51%, 80%)
CMYKcmyk(51%, 46.6%, 0%, 20%)
CIE-LABlab(49.50, 22.88, -50.53)
CIE-LCHlch(49.50, 55.47, 294.36°)
OKLaboklab(57.35% 0.017 -0.1437)
OKLCHoklch(57.35% 0.145 276.7)
XYZxyz(21.6198, 18.0049, 59.4511)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646DCC #CCC364
analogous
#64A1CC #646DCC #8F64CC
triadic
#646DCC #CC646D #6DCC64
tetradic
#646DCC #CC64A1 #CCC364 #64CC8F
square
#646DCC #CC64A1 #CCC364 #64CC8F
split-complementary
#646DCC #CC8F64 #A1CC64
monochromatic
#2D3589 #3C47B7 #646DCC #9298DB #C0C4EA

Accessibility & contrast

On white

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

On black

4.60
#646DCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646DCC
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646DCC#FFFFFF#000000##000000
##646DCC1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#437AD0
Deuteranopia (green-blind)
#3972CA
Tritanopia (blue-blind)
#398293
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #646dcc;
/* rgb */ color: rgb(100, 109, 204);
/* oklch */ color: oklch(57.3% 0.145 276.7);
Tailwind
colors: {
  custom: {
    50: '#9796dc',
    500: '#646dcc',
    950: '#000000',
  },
}
SCSS
$custom: #646dcc;
$custom-light: #9796dc;
$custom-dark: #000000;
JSON
{
  "hex": "#646dcc",
  "rgb": {
    "r": 100,
    "g": 109,
    "b": 204
  },
  "hsl": {
    "h": 234.808,
    "s": 50.485,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57345,
    "c": 0.14472,
    "h": 276.7
  },
  "luminance": 0.18006
}

Semantic roles & 50–950 ramp

primary
#646DCC
secondary
#DAD7B2
accent
#CE4EDA
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #646DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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