#646ACE#646ACE

#646ACE is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.9% C 0.152 H 277.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#646ACE
RGBrgb(100, 106, 206)
HSLhsl(237, 52%, 60%)
HSVhsv(237, 51%, 81%)
CMYKcmyk(51.5%, 48.5%, 0%, 19.2%)
CIE-LABlab(48.85, 25.35, -52.72)
CIE-LCHlch(48.85, 58.50, 295.68°)
OKLaboklab(56.89% 0.0207 -0.1502)
OKLCHoklch(56.89% 0.152 277.8)
XYZxyz(21.5467, 17.4723, 60.6177)
Luminance0.1747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646ACE #CEC864
analogous
#649FCE #646ACE #9364CE
triadic
#646ACE #CE646A #6ACE64
tetradic
#646ACE #CE649F #CEC864 #64CE93
square
#646ACE #CE649F #CEC864 #64CE93
split-complementary
#646ACE #CE9364 #9FCE64
monochromatic
#2C318C #3B42BA #646ACE #9297DD #C1C3EB

Accessibility & contrast

On white

4.67
#646ACE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#646ACE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646ACE
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646ACE#FFFFFF#000000##FFFFFF
##646ACE1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C78D2
Deuteranopia (green-blind)
#3170CC
Tritanopia (blue-blind)
#378092
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #646ace;
/* rgb */ color: rgb(100, 106, 206);
/* oklch */ color: oklch(56.9% 0.152 277.8);
Tailwind
colors: {
  custom: {
    50: '#9794dd',
    500: '#646ace',
    950: '#000000',
  },
}
SCSS
$custom: #646ace;
$custom-light: #9794dd;
$custom-dark: #000000;
JSON
{
  "hex": "#646ace",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 206
  },
  "hsl": {
    "h": 236.604,
    "s": 51.961,
    "l": 60
  },
  "oklch": {
    "l": 0.56889,
    "c": 0.15158,
    "h": 277.8
  },
  "luminance": 0.17474
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #646ACE

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

Preview Lab → · Contrast checker → · Palette generator →

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