#646EA2#646EA2

#646EA2 is a mid, moderate blue. Relative luminance 0.165; OKLCH L 55.2% C 0.082 H 275.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#646EA2
RGBrgb(100, 110, 162)
HSLhsl(230, 25%, 51%)
HSVhsv(230, 38%, 64%)
CMYKcmyk(38.3%, 32.1%, 0%, 36.5%)
CIE-LABlab(47.58, 9.57, -29.23)
CIE-LCHlch(47.58, 30.76, 288.13°)
OKLaboklab(55.16% 0.0072 -0.0816)
OKLCHoklch(55.16% 0.082 275.1)
XYZxyz(17.3511, 16.4691, 36.4400)
Luminance0.1647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646EA2 #A29864
analogous
#648DA2 #646EA2 #7964A2
triadic
#646EA2 #A2646E #6EA264
tetradic
#646EA2 #A2648D #A29864 #64A279
square
#646EA2 #A2648D #A29864 #64A279
split-complementary
#646EA2 #A27964 #8DA264
monochromatic
#343A57 #4B537E #646EA2 #8A92B9 #B1B6D0

Accessibility & contrast

On white

4.89
#646EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #646EA2
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646EA2#FFFFFF#000000##FFFFFF
##646EA21.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D74A4
Deuteranopia (green-blind)
#586FA1
Tritanopia (blue-blind)
#527881
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #646ea2;
/* rgb */ color: rgb(100, 110, 162);
/* oklch */ color: oklch(55.2% 0.082 275.1);
Tailwind
colors: {
  custom: {
    50: '#9297bd',
    500: '#646ea2',
    950: '#000000',
  },
}
SCSS
$custom: #646ea2;
$custom-light: #9297bd;
$custom-dark: #000000;
JSON
{
  "hex": "#646ea2",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 162
  },
  "hsl": {
    "h": 230.323,
    "s": 25,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55162,
    "c": 0.08194,
    "h": 275.1
  },
  "luminance": 0.1647
}

Semantic roles & 50–950 ramp

primary
#646EA2
secondary
#BFBAA3
accent
#B366C1
background
#F9F9FB
surface
#F1F2F6
border
#CBCCD0
text
#0D0D12
muted
#7E7E81

Preview Lab

Preview with #646EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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