#646BCE#646BCE

#646BCE is a mid, vivid blue. Relative luminance 0.177; OKLCH L 57.1% C 0.150 H 277.5°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#646BCE
RGBrgb(100, 107, 206)
HSLhsl(236, 52%, 60%)
HSVhsv(236, 51%, 81%)
CMYKcmyk(51.5%, 48.1%, 0%, 19.2%)
CIE-LABlab(49.11, 24.73, -52.31)
CIE-LCHlch(49.11, 57.86, 295.31°)
OKLaboklab(57.08% 0.0195 -0.149)
OKLCHoklch(57.08% 0.15 277.5)
XYZxyz(21.6503, 17.6796, 60.6522)
Luminance0.1768 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646BCE #CEC764
analogous
#64A0CE #646BCE #9264CE
triadic
#646BCE #CE646B #6BCE64
tetradic
#646BCE #CE64A0 #CEC764 #64CE92
square
#646BCE #CE64A0 #CEC764 #64CE92
split-complementary
#646BCE #CE9264 #A0CE64
monochromatic
#2C328C #3B43BA #646BCE #9297DD #C1C4EB

Accessibility & contrast

On white

4.63
#646BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #646BCE
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646BCE#FFFFFF#000000##FFFFFF
##646BCE1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E79D2
Deuteranopia (green-blind)
#3371CC
Tritanopia (blue-blind)
#378193
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #646bce;
/* rgb */ color: rgb(100, 107, 206);
/* oklch */ color: oklch(57.1% 0.150 277.5);
Tailwind
colors: {
  custom: {
    50: '#9795dd',
    500: '#646bce',
    950: '#000000',
  },
}
SCSS
$custom: #646bce;
$custom-light: #9795dd;
$custom-dark: #000000;
JSON
{
  "hex": "#646bce",
  "rgb": {
    "r": 100,
    "g": 107,
    "b": 206
  },
  "hsl": {
    "h": 236.038,
    "s": 51.961,
    "l": 60
  },
  "oklch": {
    "l": 0.57082,
    "c": 0.15023,
    "h": 277.5
  },
  "luminance": 0.17681
}

Semantic roles & 50–950 ramp

primary
#646BCE
secondary
#DBD9B2
accent
#D24CDB
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #646BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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