#646CA8#646CA8

#646CA8 is a mid, moderate blue. Relative luminance 0.163; OKLCH L 55.0% C 0.094 H 277.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#646CA8
RGBrgb(100, 108, 168)
HSLhsl(233, 28%, 53%)
HSVhsv(233, 40%, 66%)
CMYKcmyk(40.5%, 35.7%, 0%, 34.1%)
CIE-LABlab(47.31, 12.53, -33.17)
CIE-LCHlch(47.31, 35.46, 290.70°)
OKLaboklab(55.05% 0.0115 -0.093)
OKLCHoklch(55.05% 0.094 277.1)
XYZxyz(17.6839, 16.2608, 39.2451)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CA8 #A8A064
analogous
#648EA8 #646CA8 #7E64A8
triadic
#646CA8 #A8646C #6CA864
tetradic
#646CA8 #A8648E #A8A064 #64A87E
square
#646CA8 #A8648E #A8A064 #64A87E
split-complementary
#646CA8 #A87E64 #8EA864
monochromatic
#34395D #4A5184 #646CA8 #8B91BE #B2B6D4

Accessibility & contrast

On white

4.94
#646CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#646CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646CA8
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CA8#FFFFFF#000000##FFFFFF
##646CA81.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5873AA
Deuteranopia (green-blind)
#536EA7
Tritanopia (blue-blind)
#4F7882
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #646ca8;
/* rgb */ color: rgb(100, 108, 168);
/* oklch */ color: oklch(55.0% 0.094 277.1);
Tailwind
colors: {
  custom: {
    50: '#9396c2',
    500: '#646ca8',
    950: '#000000',
  },
}
SCSS
$custom: #646ca8;
$custom-light: #9396c2;
$custom-dark: #000000;
JSON
{
  "hex": "#646ca8",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 168
  },
  "hsl": {
    "h": 232.941,
    "s": 28.099,
    "l": 52.549
  },
  "oklch": {
    "l": 0.55047,
    "c": 0.09372,
    "h": 277.1
  },
  "luminance": 0.16262
}

Semantic roles & 50–950 ramp

primary
#646CA8
secondary
#C3BFA5
accent
#B963C4
background
#F9F9FB
surface
#F1F1F7
border
#CBCBD0
text
#0D0D12
muted
#7E7E81

Preview Lab

Preview with #646CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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