#646FA0#646FA0

#646FA0 is a mid, moderate blue. Relative luminance 0.166; OKLCH L 55.3% C 0.078 H 273.9°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#646FA0
RGBrgb(100, 111, 160)
HSLhsl(229, 24%, 51%)
HSVhsv(229, 38%, 63%)
CMYKcmyk(37.5%, 30.6%, 0%, 37.3%)
CIE-LABlab(47.77, 8.39, -27.76)
CIE-LCHlch(47.77, 29.00, 286.81°)
OKLaboklab(55.28% 0.0053 -0.0774)
OKLCHoklch(55.28% 0.078 273.9)
XYZxyz(17.2833, 16.6156, 35.5474)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646FA0 #A09564
analogous
#648DA0 #646FA0 #7764A0
triadic
#646FA0 #A0646F #6FA064
tetradic
#646FA0 #A0648D #A09564 #64A077
square
#646FA0 #A0648D #A09564 #64A077
split-complementary
#646FA0 #A07764 #8DA064
monochromatic
#343A55 #4C547B #646FA0 #8A92B7 #B0B6CF

Accessibility & contrast

On white

4.86
#646FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#646FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646FA0
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646FA0#FFFFFF#000000##FFFFFF
##646FA01.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F74A2
Deuteranopia (green-blind)
#5B6F9F
Tritanopia (blue-blind)
#527980
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #646fa0;
/* rgb */ color: rgb(100, 111, 160);
/* oklch */ color: oklch(55.3% 0.078 273.9);
Tailwind
colors: {
  custom: {
    50: '#9298bc',
    500: '#646fa0',
    950: '#000000',
  },
}
SCSS
$custom: #646fa0;
$custom-light: #9298bc;
$custom-dark: #000000;
JSON
{
  "hex": "#646fa0",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 160
  },
  "hsl": {
    "h": 229,
    "s": 24,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55278,
    "c": 0.07757,
    "h": 273.9
  },
  "luminance": 0.16616
}

Semantic roles & 50–950 ramp

primary
#646FA0
secondary
#BDB8A3
accent
#B067C0
background
#F9F9FB
surface
#F1F2F6
border
#CBCCD0
text
#0D0D12
muted
#7E7E81

Preview Lab

Preview with #646FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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