#646EA4#646EA4

#646EA4 is a mid, moderate blue. Relative luminance 0.165; OKLCH L 55.3% C 0.085 H 275.3°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#646EA4
RGBrgb(100, 110, 164)
HSLhsl(231, 26%, 52%)
HSVhsv(231, 39%, 64%)
CMYKcmyk(39%, 32.9%, 0%, 35.7%)
CIE-LABlab(47.68, 10.15, -30.26)
CIE-LCHlch(47.68, 31.92, 288.54°)
OKLaboklab(55.26% 0.0078 -0.0846)
OKLCHoklch(55.26% 0.085 275.3)
XYZxyz(17.5303, 16.5408, 37.3838)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646EA4 #A49A64
analogous
#648EA4 #646EA4 #7A64A4
triadic
#646EA4 #A4646E #6EA464
tetradic
#646EA4 #A4648E #A49A64 #64A47A
square
#646EA4 #A4648E #A49A64 #64A47A
split-complementary
#646EA4 #A47A64 #8EA464
monochromatic
#343A59 #4B5380 #646EA4 #8B92BB #B1B6D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##646EA4#FFFFFF#000000##FFFFFF
##646EA41.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)
#5C74A6
Deuteranopia (green-blind)
#576FA3
Tritanopia (blue-blind)
#517981
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #646ea4;
/* rgb */ color: rgb(100, 110, 164);
/* oklch */ color: oklch(55.3% 0.085 275.3);
Tailwind
colors: {
  custom: {
    50: '#9297bf',
    500: '#646ea4',
    950: '#000000',
  },
}
SCSS
$custom: #646ea4;
$custom-light: #9297bf;
$custom-dark: #000000;
JSON
{
  "hex": "#646ea4",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 164
  },
  "hsl": {
    "h": 230.625,
    "s": 26.016,
    "l": 51.765
  },
  "oklch": {
    "l": 0.55264,
    "c": 0.08495,
    "h": 275.3
  },
  "luminance": 0.16542
}

Semantic roles & 50–950 ramp

primary
#646EA4
secondary
#C0BCA4
accent
#B465C2
background
#F9F9FB
surface
#F1F2F7
border
#CBCCD0
text
#0D0D12
muted
#7E7E81

Preview Lab

Preview with #646EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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