#646CCE#646CCE

#646CCE is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.3% C 0.149 H 277.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#646CCE
RGBrgb(100, 108, 206)
HSLhsl(235, 52%, 60%)
HSVhsv(235, 51%, 81%)
CMYKcmyk(51.5%, 47.6%, 0%, 19.2%)
CIE-LABlab(49.36, 24.12, -51.90)
CIE-LCHlch(49.36, 57.23, 294.93°)
OKLaboklab(57.28% 0.0184 -0.1477)
OKLCHoklch(57.28% 0.149 277.1)
XYZxyz(21.7552, 17.8893, 60.6872)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CCE #CEC664
analogous
#64A1CE #646CCE #9164CE
triadic
#646CCE #CE646C #6CCE64
tetradic
#646CCE #CE64A1 #CEC664 #64CE91
square
#646CCE #CE64A1 #CEC664 #64CE91
split-complementary
#646CCE #CE9164 #A1CE64
monochromatic
#2C338C #3B44BA #646CCE #9298DD #C1C4EB

Accessibility & contrast

On white

4.59
#646CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#646CCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #646CCE
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CCE#FFFFFF#000000##FFFFFF
##646CCE1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#407AD2
Deuteranopia (green-blind)
#3571CC
Tritanopia (blue-blind)
#378193
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #646cce;
/* rgb */ color: rgb(100, 108, 206);
/* oklch */ color: oklch(57.3% 0.149 277.1);
Tailwind
colors: {
  custom: {
    50: '#9796dd',
    500: '#646cce',
    950: '#000000',
  },
}
SCSS
$custom: #646cce;
$custom-light: #9796dd;
$custom-dark: #000000;
JSON
{
  "hex": "#646cce",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 206
  },
  "hsl": {
    "h": 235.472,
    "s": 51.961,
    "l": 60
  },
  "oklch": {
    "l": 0.57276,
    "c": 0.14889,
    "h": 277.1
  },
  "luminance": 0.17891
}

Semantic roles & 50–950 ramp

primary
#646CCE
secondary
#DBD8B2
accent
#D14CDB
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #646CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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