#646FC7#646FC7

#646FC7 is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.4% C 0.135 H 275.9°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#646FC7
RGBrgb(100, 111, 199)
HSLhsl(233, 47%, 59%)
HSVhsv(233, 50%, 78%)
CMYKcmyk(49.7%, 44.2%, 0%, 22%)
CIE-LABlab(49.74, 20.09, -47.29)
CIE-LCHlch(49.74, 51.38, 293.01°)
OKLaboklab(57.43% 0.0139 -0.1342)
OKLCHoklch(57.43% 0.135 275.9)
XYZxyz(21.2455, 18.2005, 56.4153)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646FC7 #C7BC64
analogous
#64A0C7 #646FC7 #8A64C7
triadic
#646FC7 #C7646F #6FC764
tetradic
#646FC7 #C764A0 #C7BC64 #64C78A
square
#646FC7 #C764A0 #C7BC64 #64C78A
split-complementary
#646FC7 #C78A64 #A0C764
monochromatic
#2F3882 #3F4CAF #646FC7 #9199D7 #BEC3E7

Accessibility & contrast

On white

4.53
#646FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#646FC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646FC7
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646FC7#FFFFFF#000000##000000
##646FC71.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7ACA
Deuteranopia (green-blind)
#4172C5
Tritanopia (blue-blind)
#3C8291
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #646fc7;
/* rgb */ color: rgb(100, 111, 199);
/* oklch */ color: oklch(57.4% 0.135 275.9);
Tailwind
colors: {
  custom: {
    50: '#9698d8',
    500: '#646fc7',
    950: '#000000',
  },
}
SCSS
$custom: #646fc7;
$custom-light: #9698d8;
$custom-dark: #000000;
JSON
{
  "hex": "#646fc7",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 199
  },
  "hsl": {
    "h": 233.333,
    "s": 46.919,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57432,
    "c": 0.13493,
    "h": 275.9
  },
  "luminance": 0.18202
}

Semantic roles & 50–950 ramp

primary
#646FC7
secondary
#D7D3B0
accent
#C851D7
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0D14
muted
#7E7E83

Preview Lab

Preview with #646FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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