#646EA6#646EA6

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

Color values

HEX#646EA6
RGBrgb(100, 110, 166)
HSLhsl(231, 27%, 52%)
HSVhsv(231, 40%, 65%)
CMYKcmyk(39.8%, 33.7%, 0%, 34.9%)
CIE-LABlab(47.77, 10.73, -31.29)
CIE-LCHlch(47.77, 33.07, 288.92°)
OKLaboklab(55.37% 0.0083 -0.0876)
OKLCHoklch(55.37% 0.088 275.4)
XYZxyz(17.7124, 16.6136, 38.3425)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646EA6 #A69C64
analogous
#648FA6 #646EA6 #7B64A6
triadic
#646EA6 #A6646E #6EA664
tetradic
#646EA6 #A6648F #A69C64 #64A67B
square
#646EA6 #A6648F #A69C64 #64A67B
split-complementary
#646EA6 #A67B64 #8FA664
monochromatic
#343A5B #4B5382 #646EA6 #8B92BC #B2B7D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##646EA6#FFFFFF#000000##FFFFFF
##646EA61.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)
#5B74A8
Deuteranopia (green-blind)
#566FA5
Tritanopia (blue-blind)
#507982
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #646ea6;
/* rgb */ color: rgb(100, 110, 166);
/* oklch */ color: oklch(55.4% 0.088 275.4);
Tailwind
colors: {
  custom: {
    50: '#9397c0',
    500: '#646ea6',
    950: '#000000',
  },
}
SCSS
$custom: #646ea6;
$custom-light: #9397c0;
$custom-dark: #000000;
JSON
{
  "hex": "#646ea6",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 166
  },
  "hsl": {
    "h": 230.909,
    "s": 27.049,
    "l": 52.157
  },
  "oklch": {
    "l": 0.55367,
    "c": 0.08795,
    "h": 275.4
  },
  "luminance": 0.16614
}

Semantic roles & 50–950 ramp

primary
#646EA6
secondary
#C1BDA4
accent
#B564C3
background
#F9F9FB
surface
#F1F2F7
border
#CBCCD0
text
#0D0D12
muted
#7E7E81

Preview Lab

Preview with #646EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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