#646EA8#646EA8

#646EA8 is a mid, moderate blue. Relative luminance 0.167; OKLCH L 55.5% C 0.091 H 275.6°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#646EA8
RGBrgb(100, 110, 168)
HSLhsl(231, 28%, 53%)
HSVhsv(231, 40%, 66%)
CMYKcmyk(40.5%, 34.5%, 0%, 34.1%)
CIE-LABlab(47.86, 11.31, -32.31)
CIE-LCHlch(47.86, 34.23, 289.29°)
OKLaboklab(55.47% 0.0088 -0.0905)
OKLCHoklch(55.47% 0.091 275.6)
XYZxyz(17.8972, 16.6875, 39.3162)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646EA8 #A89E64
analogous
#6490A8 #646EA8 #7C64A8
triadic
#646EA8 #A8646E #6EA864
tetradic
#646EA8 #A86490 #A89E64 #64A87C
square
#646EA8 #A86490 #A89E64 #64A87C
split-complementary
#646EA8 #A87C64 #90A864
monochromatic
#343A5D #4A5384 #646EA8 #8B93BE #B2B7D4

Accessibility & contrast

On white

4.84
#646EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#646EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646EA8
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646EA8#FFFFFF#000000##FFFFFF
##646EA81.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A74AA
Deuteranopia (green-blind)
#556FA7
Tritanopia (blue-blind)
#4F7A83
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #646ea8;
/* rgb */ color: rgb(100, 110, 168);
/* oklch */ color: oklch(55.5% 0.091 275.6);
Tailwind
colors: {
  custom: {
    50: '#9397c2',
    500: '#646ea8',
    950: '#000000',
  },
}
SCSS
$custom: #646ea8;
$custom-light: #9397c2;
$custom-dark: #000000;
JSON
{
  "hex": "#646ea8",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 168
  },
  "hsl": {
    "h": 231.176,
    "s": 28.099,
    "l": 52.549
  },
  "oklch": {
    "l": 0.55471,
    "c": 0.09095,
    "h": 275.6
  },
  "luminance": 0.16688
}

Semantic roles & 50–950 ramp

primary
#646EA8
secondary
#C3BEA5
accent
#B663C4
background
#F9F9FB
surface
#F1F2F7
border
#CBCCD0
text
#0D0D12
muted
#7E7E81

Preview Lab

Preview with #646EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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