#646EC6#646EC6

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

Color values

HEX#646EC6
RGBrgb(100, 110, 198)
HSLhsl(234, 46%, 58%)
HSVhsv(234, 49%, 78%)
CMYKcmyk(49.5%, 44.4%, 0%, 22.4%)
CIE-LABlab(49.42, 20.39, -47.23)
CIE-LCHlch(49.42, 51.44, 293.35°)
OKLaboklab(57.17% 0.015 -0.134)
OKLCHoklch(57.17% 0.135 276.4)
XYZxyz(21.0213, 17.9372, 55.7697)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646EC6 #C6BC64
analogous
#649FC6 #646EC6 #8B64C6
triadic
#646EC6 #C6646E #6EC664
tetradic
#646EC6 #C6649F #C6BC64 #64C68B
square
#646EC6 #C6649F #C6BC64 #64C68B
split-complementary
#646EC6 #C68B64 #9FC664
monochromatic
#2F3780 #404BAD #646EC6 #9198D6 #BDC2E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##646EC6#FFFFFF#000000##000000
##646EC61.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)
#4A7AC9
Deuteranopia (green-blind)
#4172C4
Tritanopia (blue-blind)
#3D8190
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #646ec6;
/* rgb */ color: rgb(100, 110, 198);
/* oklch */ color: oklch(57.2% 0.135 276.4);
Tailwind
colors: {
  custom: {
    50: '#9697d8',
    500: '#646ec6',
    950: '#000000',
  },
}
SCSS
$custom: #646ec6;
$custom-light: #9697d8;
$custom-dark: #000000;
JSON
{
  "hex": "#646ec6",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 198
  },
  "hsl": {
    "h": 233.878,
    "s": 46.226,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57171,
    "c": 0.13485,
    "h": 276.4
  },
  "luminance": 0.17938
}

Semantic roles & 50–950 ramp

primary
#646EC6
secondary
#D6D2AF
accent
#C852D6
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0D14
muted
#7E7E83

Preview Lab

Preview with #646EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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