#646CCC#646CCC

#646CCC is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.1% C 0.146 H 277.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#646CCC
RGBrgb(100, 108, 204)
HSLhsl(235, 50%, 60%)
HSVhsv(235, 51%, 80%)
CMYKcmyk(51%, 47.1%, 0%, 20%)
CIE-LABlab(49.24, 23.49, -50.95)
CIE-LCHlch(49.24, 56.10, 294.76°)
OKLaboklab(57.15% 0.0181 -0.1449)
OKLCHoklch(57.15% 0.146 277.1)
XYZxyz(21.5138, 17.7928, 59.4157)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CCC #CCC464
analogous
#64A0CC #646CCC #9064CC
triadic
#646CCC #CC646C #6CCC64
tetradic
#646CCC #CC64A0 #CCC464 #64CC90
square
#646CCC #CC64A0 #CCC464 #64CC90
split-complementary
#646CCC #CC9064 #A0CC64
monochromatic
#2D3489 #3C46B7 #646CCC #9298DB #C0C3EA

Accessibility & contrast

On white

4.61
#646CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#646CCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #646CCC
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CCC#FFFFFF#000000##FFFFFF
##646CCC1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4179D0
Deuteranopia (green-blind)
#3771CA
Tritanopia (blue-blind)
#398192
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #646ccc;
/* rgb */ color: rgb(100, 108, 204);
/* oklch */ color: oklch(57.1% 0.146 277.1);
Tailwind
colors: {
  custom: {
    50: '#9796dc',
    500: '#646ccc',
    950: '#000000',
  },
}
SCSS
$custom: #646ccc;
$custom-light: #9796dc;
$custom-dark: #000000;
JSON
{
  "hex": "#646ccc",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 204
  },
  "hsl": {
    "h": 235.385,
    "s": 50.485,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57149,
    "c": 0.14607,
    "h": 277.1
  },
  "luminance": 0.17794
}

Semantic roles & 50–950 ramp

primary
#646CCC
secondary
#DAD7B2
accent
#CF4EDA
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #646CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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