#646AEE#646AEE

#646AEE is a mid, vivid blue. Relative luminance 0.192; OKLCH L 59.1% C 0.195 H 276.7°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#646AEE
RGBrgb(100, 106, 238)
HSLhsl(237, 80%, 66%)
HSVhsv(237, 58%, 93%)
CMYKcmyk(58%, 55.5%, 0%, 6.7%)
CIE-LABlab(50.91, 35.50, -67.50)
CIE-LCHlch(50.91, 76.27, 297.74°)
OKLaboklab(59.09% 0.0227 -0.1936)
OKLCHoklch(59.09% 0.195 276.7)
XYZxyz(25.8372, 19.1885, 83.2146)
Luminance0.1919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646AEE #EEE864
analogous
#64AFEE #646AEE #A364EE
triadic
#646AEE #EE646A #6AEE64
tetradic
#646AEE #EE64AF #EEE864 #64EEA3
square
#646AEE #EE64AF #EEE864 #64EEA3
split-complementary
#646AEE #EEA364 #AFEE64
monochromatic
#151DC2 #2D35E8 #646AEE #9B9FF4 #D2D4FA

Accessibility & contrast

On white

4.34
#646AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#646AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646AEE
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646AEE#FFFFFF#000000##000000
##646AEE1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF2
Deuteranopia (green-blind)
#0074EB
Tritanopia (blue-blind)
#0089A2
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #646aee;
/* rgb */ color: rgb(100, 106, 238);
/* oklch */ color: oklch(59.1% 0.195 276.7);
Tailwind
colors: {
  custom: {
    50: '#9c94f4',
    500: '#646aee',
    950: '#000000',
  },
}
SCSS
$custom: #646aee;
$custom-light: #9c94f4;
$custom-dark: #000000;
JSON
{
  "hex": "#646aee",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 238
  },
  "hsl": {
    "h": 237.391,
    "s": 80.233,
    "l": 66.275
  },
  "oklch": {
    "l": 0.59089,
    "c": 0.19496,
    "h": 276.7
  },
  "luminance": 0.1919
}

Semantic roles & 50–950 ramp

primary
#646AEE
secondary
#EDEBC0
accent
#D309DD
background
#FAF9FF
surface
#F4F1FE
border
#CECBD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #646AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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