#646BBA#646BBA

#646BBA is a mid, vivid blue. Relative luminance 0.168; OKLCH L 55.8% C 0.122 H 277.9°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#646BBA
RGBrgb(100, 107, 186)
HSLhsl(235, 38%, 56%)
HSVhsv(235, 46%, 73%)
CMYKcmyk(46.2%, 42.5%, 0%, 27.1%)
CIE-LABlab(47.97, 18.53, -42.62)
CIE-LCHlch(47.97, 46.48, 293.50°)
OKLaboklab(55.85% 0.0166 -0.1205)
OKLCHoklch(55.85% 0.122 277.9)
XYZxyz(19.3734, 16.7689, 48.6607)
Luminance0.1677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646BBA #BAB364
analogous
#6496BA #646BBA #8864BA
triadic
#646BBA #BA646B #6BBA64
tetradic
#646BBA #BA6496 #BAB364 #64BA88
square
#646BBA #BA6496 #BAB364 #64BA88
split-complementary
#646BBA #BA8864 #96BA64
monochromatic
#323871 #454C9C #646BBA #8E93CD #B9BCE0

Accessibility & contrast

On white

4.82
#646BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#646BBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646BBA
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646BBA#FFFFFF#000000##FFFFFF
##646BBA1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D75BD
Deuteranopia (green-blind)
#466FB8
Tritanopia (blue-blind)
#467B89
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #646bba;
/* rgb */ color: rgb(100, 107, 186);
/* oklch */ color: oklch(55.8% 0.122 277.9);
Tailwind
colors: {
  custom: {
    50: '#9595cf',
    500: '#646bba',
    950: '#000000',
  },
}
SCSS
$custom: #646bba;
$custom-light: #9595cf;
$custom-dark: #000000;
JSON
{
  "hex": "#646bba",
  "rgb": {
    "r": 100,
    "g": 107,
    "b": 186
  },
  "hsl": {
    "h": 235.116,
    "s": 38.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55849,
    "c": 0.12169,
    "h": 277.9
  },
  "luminance": 0.1677
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #646BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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