#646CE0#646CE0

#646CE0 is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.5% C 0.174 H 276.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#646CE0
RGBrgb(100, 108, 224)
HSLhsl(236, 67%, 64%)
HSVhsv(236, 55%, 88%)
CMYKcmyk(55.4%, 51.8%, 0%, 12.2%)
CIE-LABlab(50.47, 29.82, -60.34)
CIE-LCHlch(50.47, 67.31, 296.30°)
OKLaboklab(58.47% 0.02 -0.1726)
OKLCHoklch(58.47% 0.174 276.6)
XYZxyz(24.0683, 18.8146, 72.8699)
Luminance0.1882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CE0 #E0D864
analogous
#64AAE0 #646CE0 #9A64E0
triadic
#646CE0 #E0646C #6CE064
tetradic
#646CE0 #E064AA #E0D864 #64E09A
square
#646CE0 #E064AA #E0D864 #64E09A
split-complementary
#646CE0 #E09A64 #AAE064
monochromatic
#222AA8 #313CD6 #646CE0 #979CEA #CACDF4

Accessibility & contrast

On white

4.41
#646CE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#646CE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646CE0
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CE0#FFFFFF#000000##000000
##646CE01.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B7DE4
Deuteranopia (green-blind)
#1273DE
Tritanopia (blue-blind)
#21869C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #646ce0;
/* rgb */ color: rgb(100, 108, 224);
/* oklch */ color: oklch(58.5% 0.174 276.6);
Tailwind
colors: {
  custom: {
    50: '#9996ea',
    500: '#646ce0',
    950: '#000000',
  },
}
SCSS
$custom: #646ce0;
$custom-light: #9996ea;
$custom-dark: #000000;
JSON
{
  "hex": "#646ce0",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 224
  },
  "hsl": {
    "h": 236.129,
    "s": 66.667,
    "l": 63.529
  },
  "oklch": {
    "l": 0.58467,
    "c": 0.17372,
    "h": 276.6
  },
  "luminance": 0.18816
}

Semantic roles & 50–950 ramp

primary
#646CE0
secondary
#E6E3BA
accent
#C317CF
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #646CE0

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

Preview Lab → · Contrast checker → · Palette generator →

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