#646DE2#646DE2

#646DE2 is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.8% C 0.175 H 276.3°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#646DE2
RGBrgb(100, 109, 226)
HSLhsl(236, 68%, 64%)
HSVhsv(236, 56%, 89%)
CMYKcmyk(55.8%, 51.8%, 0%, 11.4%)
CIE-LABlab(50.85, 29.85, -60.86)
CIE-LCHlch(50.85, 67.79, 296.13°)
OKLaboklab(58.79% 0.0192 -0.1741)
OKLCHoklch(58.79% 0.175 276.3)
XYZxyz(24.4472, 19.1359, 74.3421)
Luminance0.1914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646DE2 #E2D964
analogous
#64ACE2 #646DE2 #9A64E2
triadic
#646DE2 #E2646D #6DE264
tetradic
#646DE2 #E264AC #E2D964 #64E29A
square
#646DE2 #E264AC #E2D964 #64E29A
split-complementary
#646DE2 #E29A64 #ACE264
monochromatic
#202AAC #303CD8 #646DE2 #989EEC #CBCEF5

Accessibility & contrast

On white

4.35
#646DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#646DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646DE2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646DE2#FFFFFF#000000##000000
##646DE21.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B7EE6
Deuteranopia (green-blind)
#1074E0
Tritanopia (blue-blind)
#1D889D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #646de2;
/* rgb */ color: rgb(100, 109, 226);
/* oklch */ color: oklch(58.8% 0.175 276.3);
Tailwind
colors: {
  custom: {
    50: '#9a96ec',
    500: '#646de2',
    950: '#000000',
  },
}
SCSS
$custom: #646de2;
$custom-light: #9a96ec;
$custom-dark: #000000;
JSON
{
  "hex": "#646de2",
  "rgb": {
    "r": 100,
    "g": 109,
    "b": 226
  },
  "hsl": {
    "h": 235.714,
    "s": 68.478,
    "l": 63.922
  },
  "oklch": {
    "l": 0.58791,
    "c": 0.17513,
    "h": 276.3
  },
  "luminance": 0.19138
}

Semantic roles & 50–950 ramp

primary
#646DE2
secondary
#E7E4BB
accent
#C315D0
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #646DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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