#646BAE#646BAE

#646BAE is a mid, moderate blue. Relative luminance 0.163; OKLCH L 55.2% C 0.104 H 277.9°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#646BAE
RGBrgb(100, 107, 174)
HSLhsl(234, 31%, 54%)
HSVhsv(234, 43%, 68%)
CMYKcmyk(42.5%, 38.5%, 0%, 31.8%)
CIE-LABlab(47.34, 14.92, -36.64)
CIE-LCHlch(47.34, 39.56, 292.15°)
OKLaboklab(55.16% 0.0143 -0.1031)
OKLCHoklch(55.16% 0.104 277.9)
XYZxyz(18.1509, 16.2799, 42.2221)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646BAE #AEA764
analogous
#6490AE #646BAE #8264AE
triadic
#646BAE #AE646B #6BAE64
tetradic
#646BAE #AE6490 #AEA764 #64AE82
square
#646BAE #AE6490 #AEA764 #64AE82
split-complementary
#646BAE #AE8264 #90AE64
monochromatic
#343964 #494F8C #646BAE #8C91C3 #B4B8D8

Accessibility & contrast

On white

4.93
#646BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#646BAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646BAE
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646BAE#FFFFFF#000000##FFFFFF
##646BAE1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5373B1
Deuteranopia (green-blind)
#4E6EAC
Tritanopia (blue-blind)
#4C7884
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #646bae;
/* rgb */ color: rgb(100, 107, 174);
/* oklch */ color: oklch(55.2% 0.104 277.9);
Tailwind
colors: {
  custom: {
    50: '#9395c6',
    500: '#646bae',
    950: '#000000',
  },
}
SCSS
$custom: #646bae;
$custom-light: #9395c6;
$custom-dark: #000000;
JSON
{
  "hex": "#646bae",
  "rgb": {
    "r": 100,
    "g": 107,
    "b": 174
  },
  "hsl": {
    "h": 234.324,
    "s": 31.356,
    "l": 53.725
  },
  "oklch": {
    "l": 0.55164,
    "c": 0.10408,
    "h": 277.9
  },
  "luminance": 0.16281
}

Semantic roles & 50–950 ramp

primary
#646BAE
secondary
#C7C4A7
accent
#BE60C8
background
#F9F9FC
surface
#F2F1F8
border
#CCCBD1
text
#0D0D13
muted
#7E7E82

Preview Lab

Preview with #646BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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