#646BB5#646BB5

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

Color values

HEX#646BB5
RGBrgb(100, 107, 181)
HSLhsl(235, 35%, 55%)
HSVhsv(235, 45%, 71%)
CMYKcmyk(44.8%, 40.9%, 0%, 29%)
CIE-LABlab(47.70, 17.02, -40.14)
CIE-LCHlch(47.70, 43.60, 292.97°)
OKLaboklab(55.56% 0.0157 -0.1133)
OKLCHoklch(55.56% 0.114 277.9)
XYZxyz(18.8512, 16.5600, 45.9102)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646BB5 #B5AE64
analogous
#6493B5 #646BB5 #8664B5
triadic
#646BB5 #B5646B #6BB564
tetradic
#646BB5 #B56493 #B5AE64 #64B586
square
#646BB5 #B56493 #B5AE64 #64B586
split-complementary
#646BB5 #B58664 #93B564
monochromatic
#33386B #474E95 #646BB5 #8D93C9 #B7BADD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##646BB5#FFFFFF#000000##FFFFFF
##646BB51.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)
#5074B8
Deuteranopia (green-blind)
#4A6EB3
Tritanopia (blue-blind)
#497A87
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #646bb5;
/* rgb */ color: rgb(100, 107, 181);
/* oklch */ color: oklch(55.6% 0.114 277.9);
Tailwind
colors: {
  custom: {
    50: '#9495cb',
    500: '#646bb5',
    950: '#000000',
  },
}
SCSS
$custom: #646bb5;
$custom-light: #9495cb;
$custom-dark: #000000;
JSON
{
  "hex": "#646bb5",
  "rgb": {
    "r": 100,
    "g": 107,
    "b": 181
  },
  "hsl": {
    "h": 234.815,
    "s": 35.371,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55558,
    "c": 0.1144,
    "h": 277.9
  },
  "luminance": 0.16561
}

Semantic roles & 50–950 ramp

primary
#646BB5
secondary
#CBC8A9
accent
#C25CCB
background
#F9F9FC
surface
#F2F1F8
border
#CCCBD1
text
#0D0D13
muted
#7E7E82

Preview Lab

Preview with #646BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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