#646CAE#646CAE

#646CAE is a mid, moderate blue. Relative luminance 0.165; OKLCH L 55.4% C 0.103 H 277.2°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#646CAE
RGBrgb(100, 108, 174)
HSLhsl(234, 31%, 54%)
HSVhsv(234, 43%, 68%)
CMYKcmyk(42.5%, 37.9%, 0%, 31.8%)
CIE-LABlab(47.61, 14.30, -36.21)
CIE-LCHlch(47.61, 38.93, 291.55°)
OKLaboklab(55.37% 0.0129 -0.1018)
OKLCHoklch(55.37% 0.103 277.2)
XYZxyz(18.2558, 16.4896, 42.2571)
Luminance0.1649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CAE #AEA664
analogous
#6491AE #646CAE #8164AE
triadic
#646CAE #AE646C #6CAE64
tetradic
#646CAE #AE6491 #AEA664 #64AE81
square
#646CAE #AE6491 #AEA664 #64AE81
split-complementary
#646CAE #AE8164 #91AE64
monochromatic
#343964 #49508C #646CAE #8C92C3 #B4B8D8

Accessibility & contrast

On white

4.89
#646CAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#646CAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646CAE
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CAE#FFFFFF#000000##FFFFFF
##646CAE1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5574B1
Deuteranopia (green-blind)
#506EAC
Tritanopia (blue-blind)
#4C7985
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #646cae;
/* rgb */ color: rgb(100, 108, 174);
/* oklch */ color: oklch(55.4% 0.103 277.2);
Tailwind
colors: {
  custom: {
    50: '#9396c6',
    500: '#646cae',
    950: '#000000',
  },
}
SCSS
$custom: #646cae;
$custom-light: #9396c6;
$custom-dark: #000000;
JSON
{
  "hex": "#646cae",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 174
  },
  "hsl": {
    "h": 233.514,
    "s": 31.356,
    "l": 53.725
  },
  "oklch": {
    "l": 0.55372,
    "c": 0.10267,
    "h": 277.2
  },
  "luminance": 0.1649
}

Semantic roles & 50–950 ramp

primary
#646CAE
secondary
#C7C3A7
accent
#BC60C8
background
#F9F9FC
surface
#F2F1F8
border
#CCCBD1
text
#0D0D13
muted
#7E7E82

Preview Lab

Preview with #646CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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