#646AE5#646AE5

#646AE5 is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.4% C 0.183 H 277.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#646AE5
RGBrgb(100, 106, 229)
HSLhsl(237, 71%, 65%)
HSVhsv(237, 56%, 90%)
CMYKcmyk(56.3%, 53.7%, 0%, 10.2%)
CIE-LABlab(50.30, 32.63, -63.43)
CIE-LCHlch(50.30, 71.33, 297.22°)
OKLaboklab(58.45% 0.0224 -0.1817)
OKLCHoklch(58.45% 0.183 277)
XYZxyz(24.5479, 18.6728, 76.4242)
Luminance0.1867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646AE5 #E5DF64
analogous
#64ABE5 #646AE5 #9E64E5
triadic
#646AE5 #E5646A #6AE564
tetradic
#646AE5 #E564AB #E5DF64 #64E59E
square
#646AE5 #E564AB #E5DF64 #64E59E
split-complementary
#646AE5 #E59E64 #ABE564
monochromatic
#1E25B1 #3038DC #646AE5 #989CEE #CDCFF7

Accessibility & contrast

On white

4.44
#646AE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#646AE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646AE5
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646AE5#FFFFFF#000000##000000
##646AE51.004.444.744.74
#FFFFFF4.441.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A7DE9
Deuteranopia (green-blind)
#0072E2
Tritanopia (blue-blind)
#18869D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #646ae5;
/* rgb */ color: rgb(100, 106, 229);
/* oklch */ color: oklch(58.4% 0.183 277.0);
Tailwind
colors: {
  custom: {
    50: '#9a94ee',
    500: '#646ae5',
    950: '#000000',
  },
}
SCSS
$custom: #646ae5;
$custom-light: #9a94ee;
$custom-dark: #000000;
JSON
{
  "hex": "#646ae5",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 229
  },
  "hsl": {
    "h": 237.209,
    "s": 71.271,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58446,
    "c": 0.18303,
    "h": 277
  },
  "luminance": 0.18675
}

Semantic roles & 50–950 ramp

primary
#646AE5
secondary
#E9E7BC
accent
#CA12D3
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #646AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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