#646ABA#646ABA

#646ABA is a mid, vivid blue. Relative luminance 0.166; OKLCH L 55.6% C 0.123 H 278.4°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#646ABA
RGBrgb(100, 106, 186)
HSLhsl(236, 38%, 56%)
HSVhsv(236, 46%, 73%)
CMYKcmyk(46.2%, 43%, 0%, 27.1%)
CIE-LABlab(47.70, 19.15, -43.04)
CIE-LCHlch(47.70, 47.11, 293.98°)
OKLaboklab(55.65% 0.0179 -0.1218)
OKLCHoklch(55.65% 0.123 278.4)
XYZxyz(19.2698, 16.5616, 48.6262)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646ABA #BAB464
analogous
#6495BA #646ABA #8964BA
triadic
#646ABA #BA646A #6ABA64
tetradic
#646ABA #BA6495 #BAB464 #64BA89
square
#646ABA #BA6495 #BAB464 #64BA89
split-complementary
#646ABA #BA8964 #95BA64
monochromatic
#323771 #454B9C #646ABA #8E93CD #B9BBE0

Accessibility & contrast

On white

4.87
#646ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#646ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646ABA
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646ABA#FFFFFF#000000##FFFFFF
##646ABA1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B75BD
Deuteranopia (green-blind)
#456EB8
Tritanopia (blue-blind)
#467B89
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #646aba;
/* rgb */ color: rgb(100, 106, 186);
/* oklch */ color: oklch(55.6% 0.123 278.4);
Tailwind
colors: {
  custom: {
    50: '#9594cf',
    500: '#646aba',
    950: '#000000',
  },
}
SCSS
$custom: #646aba;
$custom-light: #9594cf;
$custom-dark: #000000;
JSON
{
  "hex": "#646aba",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 186
  },
  "hsl": {
    "h": 235.814,
    "s": 38.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55647,
    "c": 0.1231,
    "h": 278.4
  },
  "luminance": 0.16563
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #646ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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