#646EB5#646EB5

#646EB5 is a mid, moderate blue. Relative luminance 0.172; OKLCH L 56.2% C 0.110 H 276.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#646EB5
RGBrgb(100, 110, 181)
HSLhsl(233, 35%, 55%)
HSVhsv(233, 45%, 71%)
CMYKcmyk(44.8%, 39.2%, 0%, 29%)
CIE-LABlab(48.51, 15.17, -38.87)
CIE-LCHlch(48.51, 41.73, 291.32°)
OKLaboklab(56.18% 0.0119 -0.1096)
OKLCHoklch(56.18% 0.11 276.2)
XYZxyz(19.1694, 17.1964, 46.0163)
Luminance0.1720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646EB5 #B5AB64
analogous
#6496B5 #646EB5 #8364B5
triadic
#646EB5 #B5646E #6EB564
tetradic
#646EB5 #B56496 #B5AB64 #64B583
square
#646EB5 #B56496 #B5AB64 #64B583
split-complementary
#646EB5 #B58364 #96B564
monochromatic
#333A6B #475195 #646EB5 #8D95C9 #B7BCDD

Accessibility & contrast

On white

4.73
#646EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#646EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646EB5
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646EB5#FFFFFF#000000##FFFFFF
##646EB51.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5477B8
Deuteranopia (green-blind)
#4E70B3
Tritanopia (blue-blind)
#487D89
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #646eb5;
/* rgb */ color: rgb(100, 110, 181);
/* oklch */ color: oklch(56.2% 0.110 276.2);
Tailwind
colors: {
  custom: {
    50: '#9497cb',
    500: '#646eb5',
    950: '#000000',
  },
}
SCSS
$custom: #646eb5;
$custom-light: #9497cb;
$custom-dark: #000000;
JSON
{
  "hex": "#646eb5",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 181
  },
  "hsl": {
    "h": 232.593,
    "s": 35.371,
    "l": 55.098
  },
  "oklch": {
    "l": 0.56176,
    "c": 0.11023,
    "h": 276.2
  },
  "luminance": 0.17197
}

Semantic roles & 50–950 ramp

primary
#646EB5
secondary
#CBC7A9
accent
#BE5CCB
background
#F9F9FC
surface
#F2F2F8
border
#CCCCD1
text
#0D0D13
muted
#7E7E82

Preview Lab

Preview with #646EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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