#646FC4#646FC4

#646FC4 is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.3% C 0.131 H 275.9°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#646FC4
RGBrgb(100, 111, 196)
HSLhsl(233, 45%, 58%)
HSVhsv(233, 49%, 77%)
CMYKcmyk(49%, 43.4%, 0%, 23.1%)
CIE-LABlab(49.57, 19.16, -45.84)
CIE-LCHlch(49.57, 49.68, 292.68°)
OKLaboklab(57.25% 0.0134 -0.1299)
OKLCHoklch(57.25% 0.131 275.9)
XYZxyz(20.9007, 18.0625, 54.5989)
Luminance0.1806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646FC4 #C4B964
analogous
#649FC4 #646FC4 #8964C4
triadic
#646FC4 #C4646F #6FC464
tetradic
#646FC4 #C4649F #C4B964 #64C489
square
#646FC4 #C4649F #C4B964 #64C489
split-complementary
#646FC4 #C48964 #9FC464
monochromatic
#30397E #414DAA #646FC4 #9098D5 #BDC1E6

Accessibility & contrast

On white

4.55
#646FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#646FC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646FC4
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646FC4#FFFFFF#000000##000000
##646FC41.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7AC7
Deuteranopia (green-blind)
#4472C2
Tritanopia (blue-blind)
#3F8190
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #646fc4;
/* rgb */ color: rgb(100, 111, 196);
/* oklch */ color: oklch(57.3% 0.131 275.9);
Tailwind
colors: {
  custom: {
    50: '#9698d6',
    500: '#646fc4',
    950: '#000000',
  },
}
SCSS
$custom: #646fc4;
$custom-light: #9698d6;
$custom-dark: #000000;
JSON
{
  "hex": "#646fc4",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 196
  },
  "hsl": {
    "h": 233.125,
    "s": 44.86,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57251,
    "c": 0.13063,
    "h": 275.9
  },
  "luminance": 0.18064
}

Semantic roles & 50–950 ramp

primary
#646FC4
secondary
#D5D1AF
accent
#C653D5
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0D14
muted
#7E7E83

Preview Lab

Preview with #646FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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