#646DC2#646DC2

#646DC2 is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.7% C 0.130 H 276.8°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#646DC2
RGBrgb(100, 109, 194)
HSLhsl(234, 44%, 58%)
HSVhsv(234, 48%, 76%)
CMYKcmyk(48.5%, 43.8%, 0%, 23.9%)
CIE-LABlab(48.93, 19.76, -45.70)
CIE-LCHlch(48.93, 49.79, 293.39°)
OKLaboklab(56.73% 0.0155 -0.1296)
OKLCHoklch(56.73% 0.13 276.8)
XYZxyz(20.4588, 17.5405, 53.3361)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646DC2 #C2B964
analogous
#649CC2 #646DC2 #8A64C2
triadic
#646DC2 #C2646D #6DC264
tetradic
#646DC2 #C2649C #C2B964 #64C28A
square
#646DC2 #C2649C #C2B964 #64C28A
split-complementary
#646DC2 #C28A64 #9CC264
monochromatic
#30387B #424BA7 #646DC2 #9096D3 #BCC0E5

Accessibility & contrast

On white

4.66
#646DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#646DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #646DC2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646DC2#FFFFFF#000000##FFFFFF
##646DC21.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B78C5
Deuteranopia (green-blind)
#4371C0
Tritanopia (blue-blind)
#407F8E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #646dc2;
/* rgb */ color: rgb(100, 109, 194);
/* oklch */ color: oklch(56.7% 0.130 276.8);
Tailwind
colors: {
  custom: {
    50: '#9596d5',
    500: '#646dc2',
    950: '#000000',
  },
}
SCSS
$custom: #646dc2;
$custom-light: #9596d5;
$custom-dark: #000000;
JSON
{
  "hex": "#646dc2",
  "rgb": {
    "r": 100,
    "g": 109,
    "b": 194
  },
  "hsl": {
    "h": 234.255,
    "s": 43.519,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56729,
    "c": 0.13049,
    "h": 276.8
  },
  "luminance": 0.17542
}

Semantic roles & 50–950 ramp

primary
#646DC2
secondary
#D4D0AE
accent
#C755D3
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0D14
muted
#7E7E83

Preview Lab

Preview with #646DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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