#646EB4#646EB4

#646EB4 is a mid, moderate blue. Relative luminance 0.172; OKLCH L 56.1% C 0.109 H 276.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#646EB4
RGBrgb(100, 110, 180)
HSLhsl(233, 35%, 55%)
HSVhsv(233, 44%, 71%)
CMYKcmyk(44.4%, 38.9%, 0%, 29.4%)
CIE-LABlab(48.46, 14.87, -38.37)
CIE-LCHlch(48.46, 41.15, 291.19°)
OKLaboklab(56.12% 0.0117 -0.1081)
OKLCHoklch(56.12% 0.109 276.1)
XYZxyz(19.0672, 17.1555, 45.4778)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646EB4 #B4AA64
analogous
#6496B4 #646EB4 #8264B4
triadic
#646EB4 #B4646E #6EB464
tetradic
#646EB4 #B46496 #B4AA64 #64B482
square
#646EB4 #B46496 #B4AA64 #64B482
split-complementary
#646EB4 #B48264 #96B464
monochromatic
#333A6A #475193 #646EB4 #8D95C8 #B6BBDC

Accessibility & contrast

On white

4.74
#646EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#646EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646EB4
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646EB4#FFFFFF#000000##FFFFFF
##646EB41.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5576B7
Deuteranopia (green-blind)
#4E70B2
Tritanopia (blue-blind)
#497C88
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #646eb4;
/* rgb */ color: rgb(100, 110, 180);
/* oklch */ color: oklch(56.1% 0.109 276.1);
Tailwind
colors: {
  custom: {
    50: '#9497cb',
    500: '#646eb4',
    950: '#000000',
  },
}
SCSS
$custom: #646eb4;
$custom-light: #9497cb;
$custom-dark: #000000;
JSON
{
  "hex": "#646eb4",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 180
  },
  "hsl": {
    "h": 232.5,
    "s": 34.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5612,
    "c": 0.10876,
    "h": 276.1
  },
  "luminance": 0.17156
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #646EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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