#646BB2#646BB2

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

Color values

HEX#646BB2
RGBrgb(100, 107, 178)
HSLhsl(235, 34%, 55%)
HSVhsv(235, 44%, 70%)
CMYKcmyk(43.8%, 39.9%, 0%, 30.2%)
CIE-LABlab(47.54, 16.11, -38.65)
CIE-LCHlch(47.54, 41.87, 292.63°)
OKLaboklab(55.39% 0.0151 -0.1089)
OKLCHoklch(55.39% 0.11 277.9)
XYZxyz(18.5467, 16.4382, 44.3065)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646BB2 #B2AB64
analogous
#6492B2 #646BB2 #8464B2
triadic
#646BB2 #B2646B #6BB264
tetradic
#646BB2 #B26492 #B2AB64 #64B284
square
#646BB2 #B26492 #B2AB64 #64B284
split-complementary
#646BB2 #B28464 #92B264
monochromatic
#343868 #484E91 #646BB2 #8D92C6 #B6B9DB

Accessibility & contrast

On white

4.90
#646BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#646BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646BB2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646BB2#FFFFFF#000000##FFFFFF
##646BB21.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5174B5
Deuteranopia (green-blind)
#4C6EB0
Tritanopia (blue-blind)
#4A7986
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #646bb2;
/* rgb */ color: rgb(100, 107, 178);
/* oklch */ color: oklch(55.4% 0.110 277.9);
Tailwind
colors: {
  custom: {
    50: '#9495c9',
    500: '#646bb2',
    950: '#000000',
  },
}
SCSS
$custom: #646bb2;
$custom-light: #9495c9;
$custom-dark: #000000;
JSON
{
  "hex": "#646bb2",
  "rgb": {
    "r": 100,
    "g": 107,
    "b": 178
  },
  "hsl": {
    "h": 234.615,
    "s": 33.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.55387,
    "c": 0.10999,
    "h": 277.9
  },
  "luminance": 0.16439
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #646BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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