#646BBE#646BBE

#646BBE is a mid, vivid blue. Relative luminance 0.169; OKLCH L 56.1% C 0.127 H 277.8°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#646BBE
RGBrgb(100, 107, 190)
HSLhsl(235, 41%, 57%)
HSVhsv(235, 47%, 75%)
CMYKcmyk(47.4%, 43.7%, 0%, 25.5%)
CIE-LABlab(48.19, 19.76, -44.59)
CIE-LCHlch(48.19, 48.77, 293.90°)
OKLaboklab(56.09% 0.0173 -0.1263)
OKLCHoklch(56.09% 0.127 277.8)
XYZxyz(19.8046, 16.9414, 50.9317)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646BBE #BEB764
analogous
#6498BE #646BBE #8A64BE
triadic
#646BBE #BE646B #6BBE64
tetradic
#646BBE #BE6498 #BEB764 #64BE8A
square
#646BBE #BE6498 #BEB764 #64BE8A
split-complementary
#646BBE #BE8A64 #98BE64
monochromatic
#323776 #444BA1 #646BBE #8F94D0 #BABDE2

Accessibility & contrast

On white

4.79
#646BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#646BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646BBE
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646BBE#FFFFFF#000000##FFFFFF
##646BBE1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A76C1
Deuteranopia (green-blind)
#436FBC
Tritanopia (blue-blind)
#437C8B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #646bbe;
/* rgb */ color: rgb(100, 107, 190);
/* oklch */ color: oklch(56.1% 0.127 277.8);
Tailwind
colors: {
  custom: {
    50: '#9595d2',
    500: '#646bbe',
    950: '#000000',
  },
}
SCSS
$custom: #646bbe;
$custom-light: #9595d2;
$custom-dark: #000000;
JSON
{
  "hex": "#646bbe",
  "rgb": {
    "r": 100,
    "g": 107,
    "b": 190
  },
  "hsl": {
    "h": 235.333,
    "s": 40.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56087,
    "c": 0.12749,
    "h": 277.8
  },
  "luminance": 0.16942
}

Semantic roles & 50–950 ramp

primary
#646BBE
secondary
#D1CEAD
accent
#C757D1
background
#F9F9FC
surface
#F2F1F9
border
#CCCBD2
text
#0E0D14
muted
#7E7E82

Preview Lab

Preview with #646BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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