#646CB8#646CB8

#646CB8 is a mid, moderate blue. Relative luminance 0.169; OKLCH L 55.9% C 0.117 H 277.3°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#646CB8
RGBrgb(100, 108, 184)
HSLhsl(234, 37%, 56%)
HSVhsv(234, 46%, 72%)
CMYKcmyk(45.7%, 41.3%, 0%, 27.8%)
CIE-LABlab(48.13, 17.31, -41.21)
CIE-LCHlch(48.13, 44.70, 292.78°)
OKLaboklab(55.94% 0.015 -0.1164)
OKLCHoklch(55.94% 0.117 277.3)
XYZxyz(19.2672, 16.8942, 47.5838)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CB8 #B8B064
analogous
#6496B8 #646CB8 #8664B8
triadic
#646CB8 #B8646C #6CB864
tetradic
#646CB8 #B86496 #B8B064 #64B886
square
#646CB8 #B86496 #B8B064 #64B886
split-complementary
#646CB8 #B88664 #96B864
monochromatic
#33386F #464E99 #646CB8 #8E94CB #B8BCDE

Accessibility & contrast

On white

4.80
#646CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#646CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646CB8
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CB8#FFFFFF#000000##FFFFFF
##646CB81.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F76BB
Deuteranopia (green-blind)
#496FB6
Tritanopia (blue-blind)
#477C89
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #646cb8;
/* rgb */ color: rgb(100, 108, 184);
/* oklch */ color: oklch(55.9% 0.117 277.3);
Tailwind
colors: {
  custom: {
    50: '#9496ce',
    500: '#646cb8',
    950: '#000000',
  },
}
SCSS
$custom: #646cb8;
$custom-light: #9496ce;
$custom-dark: #000000;
JSON
{
  "hex": "#646cb8",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 184
  },
  "hsl": {
    "h": 234.286,
    "s": 37.168,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55936,
    "c": 0.11739,
    "h": 277.3
  },
  "luminance": 0.16895
}

Semantic roles & 50–950 ramp

primary
#646CB8
secondary
#CDCAAA
accent
#C25BCD
background
#F9F9FC
surface
#F2F1F9
border
#CCCBD2
text
#0E0D13
muted
#7E7E82

Preview Lab

Preview with #646CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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