#646BB1#646BB1

#646BB1 is a mid, moderate blue. Relative luminance 0.164; OKLCH L 55.3% C 0.109 H 277.9°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#646BB1
RGBrgb(100, 107, 177)
HSLhsl(235, 33%, 54%)
HSVhsv(235, 44%, 69%)
CMYKcmyk(43.5%, 39.5%, 0%, 30.6%)
CIE-LABlab(47.49, 15.81, -38.15)
CIE-LCHlch(47.49, 41.29, 292.52°)
OKLaboklab(55.33% 0.0149 -0.1075)
OKLCHoklch(55.33% 0.109 277.9)
XYZxyz(18.4467, 16.3982, 43.7796)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646BB1 #B1AA64
analogous
#6492B1 #646BB1 #8464B1
triadic
#646BB1 #B1646B #6BB164
tetradic
#646BB1 #B16492 #B1AA64 #64B184
square
#646BB1 #B16492 #B1AA64 #64B184
split-complementary
#646BB1 #B18464 #92B164
monochromatic
#343867 #484F90 #646BB1 #8D92C5 #B5B9DA

Accessibility & contrast

On white

4.91
#646BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#646BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646BB1
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646BB1#FFFFFF#000000##FFFFFF
##646BB11.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5274B4
Deuteranopia (green-blind)
#4C6EAF
Tritanopia (blue-blind)
#4B7985
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #646bb1;
/* rgb */ color: rgb(100, 107, 177);
/* oklch */ color: oklch(55.3% 0.109 277.9);
Tailwind
colors: {
  custom: {
    50: '#9495c8',
    500: '#646bb1',
    950: '#000000',
  },
}
SCSS
$custom: #646bb1;
$custom-light: #9495c8;
$custom-dark: #000000;
JSON
{
  "hex": "#646bb1",
  "rgb": {
    "r": 100,
    "g": 107,
    "b": 177
  },
  "hsl": {
    "h": 234.545,
    "s": 33.047,
    "l": 54.314
  },
  "oklch": {
    "l": 0.55331,
    "c": 0.10852,
    "h": 277.9
  },
  "luminance": 0.16399
}

Semantic roles & 50–950 ramp

primary
#646BB1
secondary
#C9C6A8
accent
#BF5FC9
background
#F9F9FC
surface
#F2F1F8
border
#CCCBD1
text
#0D0D13
muted
#7E7E82

Preview Lab

Preview with #646BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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