#646EA1#646EA1

#646EA1 is a mid, moderate blue. Relative luminance 0.164; OKLCH L 55.1% C 0.080 H 275.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#646EA1
RGBrgb(100, 110, 161)
HSLhsl(230, 24%, 51%)
HSVhsv(230, 38%, 63%)
CMYKcmyk(37.9%, 31.7%, 0%, 36.9%)
CIE-LABlab(47.54, 9.28, -28.71)
CIE-LCHlch(47.54, 30.18, 287.92°)
OKLaboklab(55.11% 0.007 -0.0801)
OKLCHoklch(55.11% 0.08 275)
XYZxyz(17.2626, 16.4337, 35.9738)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646EA1 #A19764
analogous
#648CA1 #646EA1 #7864A1
triadic
#646EA1 #A1646E #6EA164
tetradic
#646EA1 #A1648C #A19764 #64A178
square
#646EA1 #A1648C #A19764 #64A178
split-complementary
#646EA1 #A17864 #8CA164
monochromatic
#343A56 #4B537C #646EA1 #8A92B8 #B0B5CF

Accessibility & contrast

On white

4.90
#646EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#646EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646EA1
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646EA1#FFFFFF#000000##FFFFFF
##646EA11.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D73A3
Deuteranopia (green-blind)
#596FA0
Tritanopia (blue-blind)
#527880
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #646ea1;
/* rgb */ color: rgb(100, 110, 161);
/* oklch */ color: oklch(55.1% 0.080 275.0);
Tailwind
colors: {
  custom: {
    50: '#9297bd',
    500: '#646ea1',
    950: '#000000',
  },
}
SCSS
$custom: #646ea1;
$custom-light: #9297bd;
$custom-dark: #000000;
JSON
{
  "hex": "#646ea1",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 161
  },
  "hsl": {
    "h": 230.164,
    "s": 24.498,
    "l": 51.176
  },
  "oklch": {
    "l": 0.55112,
    "c": 0.08043,
    "h": 275
  },
  "luminance": 0.16434
}

Semantic roles & 50–950 ramp

primary
#646EA1
secondary
#BEB9A3
accent
#B267C1
background
#F9F9FB
surface
#F1F2F6
border
#CBCCD0
text
#0D0D12
muted
#7E7E81

Preview Lab

Preview with #646EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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