#646CCF#646CCF

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

Color values

HEX#646CCF
RGBrgb(100, 108, 207)
HSLhsl(236, 53%, 60%)
HSVhsv(236, 52%, 81%)
CMYKcmyk(51.7%, 47.8%, 0%, 18.8%)
CIE-LABlab(49.42, 24.44, -52.38)
CIE-LCHlch(49.42, 57.80, 295.01°)
OKLaboklab(57.34% 0.0185 -0.1491)
OKLCHoklch(57.34% 0.15 277.1)
XYZxyz(21.8770, 17.9381, 61.3290)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CCF #CFC764
analogous
#64A1CF #646CCF #9164CF
triadic
#646CCF #CF646C #6CCF64
tetradic
#646CCF #CF64A1 #CFC764 #64CF91
square
#646CCF #CF64A1 #CFC764 #64CF91
split-complementary
#646CCF #CF9164 #A1CF64
monochromatic
#2C338D #3A44BC #646CCF #9398DD #C1C5EC

Accessibility & contrast

On white

4.58
#646CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#646CCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646CCF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CCF#FFFFFF#000000##000000
##646CCF1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7AD3
Deuteranopia (green-blind)
#3371CD
Tritanopia (blue-blind)
#368293
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #646ccf;
/* rgb */ color: rgb(100, 108, 207);
/* oklch */ color: oklch(57.3% 0.150 277.1);
Tailwind
colors: {
  custom: {
    50: '#9796de',
    500: '#646ccf',
    950: '#000000',
  },
}
SCSS
$custom: #646ccf;
$custom-light: #9796de;
$custom-dark: #000000;
JSON
{
  "hex": "#646ccf",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 207
  },
  "hsl": {
    "h": 235.514,
    "s": 52.709,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5734,
    "c": 0.15029,
    "h": 277.1
  },
  "luminance": 0.17939
}

Semantic roles & 50–950 ramp

primary
#646CCF
secondary
#DCD9B3
accent
#B525C0
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #646CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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