#646FC2#646FC2

#646FC2 is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.1% C 0.128 H 275.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#646FC2
RGBrgb(100, 111, 194)
HSLhsl(233, 44%, 58%)
HSVhsv(233, 48%, 76%)
CMYKcmyk(48.5%, 42.8%, 0%, 23.9%)
CIE-LABlab(49.46, 18.54, -44.86)
CIE-LCHlch(49.46, 48.54, 292.45°)
OKLaboklab(57.13% 0.0131 -0.1271)
OKLCHoklch(57.13% 0.128 275.9)
XYZxyz(20.6745, 17.9721, 53.4080)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646FC2 #C2B764
analogous
#649EC2 #646FC2 #8864C2
triadic
#646FC2 #C2646F #6FC264
tetradic
#646FC2 #C2649E #C2B764 #64C288
square
#646FC2 #C2649E #C2B764 #64C288
split-complementary
#646FC2 #C28864 #9EC264
monochromatic
#30397B #424EA7 #646FC2 #9098D3 #BCC1E5

Accessibility & contrast

On white

4.57
#646FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#646FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646FC2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646FC2#FFFFFF#000000##000000
##646FC21.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7AC5
Deuteranopia (green-blind)
#4672C0
Tritanopia (blue-blind)
#40808F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #646fc2;
/* rgb */ color: rgb(100, 111, 194);
/* oklch */ color: oklch(57.1% 0.128 275.9);
Tailwind
colors: {
  custom: {
    50: '#9598d5',
    500: '#646fc2',
    950: '#000000',
  },
}
SCSS
$custom: #646fc2;
$custom-light: #9598d5;
$custom-dark: #000000;
JSON
{
  "hex": "#646fc2",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 194
  },
  "hsl": {
    "h": 232.979,
    "s": 43.519,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57131,
    "c": 0.12776,
    "h": 275.9
  },
  "luminance": 0.17973
}

Semantic roles & 50–950 ramp

primary
#646FC2
secondary
#D4CFAE
accent
#C455D3
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0D14
muted
#7E7E83

Preview Lab

Preview with #646FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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