#646CE2#646CE2

#646CE2 is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.6% C 0.176 H 276.6°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#646CE2
RGBrgb(100, 108, 226)
HSLhsl(236, 68%, 64%)
HSVhsv(236, 56%, 89%)
CMYKcmyk(55.8%, 52.2%, 0%, 11.4%)
CIE-LABlab(50.60, 30.46, -61.26)
CIE-LCHlch(50.60, 68.42, 296.44°)
OKLaboklab(58.61% 0.0202 -0.1753)
OKLCHoklch(58.61% 0.176 276.6)
XYZxyz(24.3412, 18.9237, 74.3067)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CE2 #E2DA64
analogous
#64ABE2 #646CE2 #9B64E2
triadic
#646CE2 #E2646C #6CE264
tetradic
#646CE2 #E264AB #E2DA64 #64E29B
square
#646CE2 #E264AB #E2DA64 #64E29B
split-complementary
#646CE2 #E29B64 #ABE264
monochromatic
#2029AC #303BD8 #646CE2 #989DEC #CBCEF5

Accessibility & contrast

On white

4.39
#646CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#646CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646CE2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CE2#FFFFFF#000000##000000
##646CE21.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#287EE6
Deuteranopia (green-blind)
#0873E0
Tritanopia (blue-blind)
#1D879D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #646ce2;
/* rgb */ color: rgb(100, 108, 226);
/* oklch */ color: oklch(58.6% 0.176 276.6);
Tailwind
colors: {
  custom: {
    50: '#9a96ec',
    500: '#646ce2',
    950: '#000000',
  },
}
SCSS
$custom: #646ce2;
$custom-light: #9a96ec;
$custom-dark: #000000;
JSON
{
  "hex": "#646ce2",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 226
  },
  "hsl": {
    "h": 236.19,
    "s": 68.478,
    "l": 63.922
  },
  "oklch": {
    "l": 0.58605,
    "c": 0.17643,
    "h": 276.6
  },
  "luminance": 0.18925
}

Semantic roles & 50–950 ramp

primary
#646CE2
secondary
#E7E4BB
accent
#C515D0
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #646CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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