#646BBB#646BBB

#646BBB is a mid, vivid blue. Relative luminance 0.168; OKLCH L 55.9% C 0.123 H 277.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#646BBB
RGBrgb(100, 107, 187)
HSLhsl(235, 39%, 56%)
HSVhsv(235, 47%, 73%)
CMYKcmyk(46.5%, 42.8%, 0%, 26.7%)
CIE-LABlab(48.02, 18.84, -43.11)
CIE-LCHlch(48.02, 47.05, 293.60°)
OKLaboklab(55.91% 0.0168 -0.122)
OKLCHoklch(55.91% 0.123 277.8)
XYZxyz(19.4801, 16.8116, 49.2226)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646BBB #BBB464
analogous
#6497BB #646BBB #8964BB
triadic
#646BBB #BB646B #6BBB64
tetradic
#646BBB #BB6497 #BBB464 #64BB89
square
#646BBB #BB6497 #BBB464 #64BB89
split-complementary
#646BBB #BB8964 #97BB64
monochromatic
#323772 #454C9D #646BBB #8F94CE #B9BCE0

Accessibility & contrast

On white

4.81
#646BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#646BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646BBB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646BBB#FFFFFF#000000##FFFFFF
##646BBB1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C75BE
Deuteranopia (green-blind)
#456FB9
Tritanopia (blue-blind)
#457C8A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #646bbb;
/* rgb */ color: rgb(100, 107, 187);
/* oklch */ color: oklch(55.9% 0.123 277.8);
Tailwind
colors: {
  custom: {
    50: '#9595d0',
    500: '#646bbb',
    950: '#000000',
  },
}
SCSS
$custom: #646bbb;
$custom-light: #9595d0;
$custom-dark: #000000;
JSON
{
  "hex": "#646bbb",
  "rgb": {
    "r": 100,
    "g": 107,
    "b": 187
  },
  "hsl": {
    "h": 235.172,
    "s": 39.013,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55908,
    "c": 0.12315,
    "h": 277.8
  },
  "luminance": 0.16813
}

Semantic roles & 50–950 ramp

primary
#646BBB
secondary
#CFCCAB
accent
#C559CF
background
#F9F9FC
surface
#F2F1F9
border
#CCCBD2
text
#0E0D14
muted
#7E7E82

Preview Lab

Preview with #646BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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