#646AE1#646AE1

#646AE1 is a mid, vivid blue. Relative luminance 0.185; OKLCH L 58.2% C 0.178 H 277.2°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#646AE1
RGBrgb(100, 106, 225)
HSLhsl(237, 68%, 64%)
HSVhsv(237, 56%, 88%)
CMYKcmyk(55.6%, 52.9%, 0%, 11.8%)
CIE-LABlab(50.04, 31.36, -61.60)
CIE-LCHlch(50.04, 69.12, 296.98°)
OKLaboklab(58.17% 0.0222 -0.1763)
OKLCHoklch(58.17% 0.178 277.2)
XYZxyz(23.9958, 18.4520, 73.5167)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646AE1 #E1DB64
analogous
#64A8E1 #646AE1 #9C64E1
triadic
#646AE1 #E1646A #6AE164
tetradic
#646AE1 #E164A8 #E1DB64 #64E19C
square
#646AE1 #E164A8 #E1DB64 #64E19C
split-complementary
#646AE1 #E19C64 #A8E164
monochromatic
#2127AA #3139D7 #646AE1 #979BEB #CBCDF5

Accessibility & contrast

On white

4.48
#646AE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#646AE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646AE1
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646AE1#FFFFFF#000000##000000
##646AE11.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#237CE5
Deuteranopia (green-blind)
#0072DF
Tritanopia (blue-blind)
#20859B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #646ae1;
/* rgb */ color: rgb(100, 106, 225);
/* oklch */ color: oklch(58.2% 0.178 277.2);
Tailwind
colors: {
  custom: {
    50: '#9a94eb',
    500: '#646ae1',
    950: '#000000',
  },
}
SCSS
$custom: #646ae1;
$custom-light: #9a94eb;
$custom-dark: #000000;
JSON
{
  "hex": "#646ae1",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 225
  },
  "hsl": {
    "h": 237.12,
    "s": 67.568,
    "l": 63.725
  },
  "oklch": {
    "l": 0.58166,
    "c": 0.17766,
    "h": 277.2
  },
  "luminance": 0.18454
}

Semantic roles & 50–950 ramp

primary
#646AE1
secondary
#E6E4BA
accent
#C716CF
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #646AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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