#646CEE#646CEE

#646CEE is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.4% C 0.192 H 276.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#646CEE
RGBrgb(100, 108, 238)
HSLhsl(237, 80%, 66%)
HSVhsv(237, 58%, 93%)
CMYKcmyk(58%, 54.6%, 0%, 6.7%)
CIE-LABlab(51.39, 34.30, -66.72)
CIE-LCHlch(51.39, 75.02, 297.21°)
OKLaboklab(59.45% 0.0207 -0.1913)
OKLCHoklch(59.45% 0.192 276.2)
XYZxyz(26.0457, 19.6056, 83.2841)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CEE #EEE664
analogous
#64B1EE #646CEE #A164EE
triadic
#646CEE #EE646C #6CEE64
tetradic
#646CEE #EE64B1 #EEE664 #64EEA1
square
#646CEE #EE64B1 #EEE664 #64EEA1
split-complementary
#646CEE #EEA164 #B1EE64
monochromatic
#151FC2 #2D38E8 #646CEE #9BA0F4 #D2D5FA

Accessibility & contrast

On white

4.27
#646CEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#646CEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646CEE
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CEE#FFFFFF#000000##000000
##646CEE1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0780F2
Deuteranopia (green-blind)
#0075EB
Tritanopia (blue-blind)
#008AA3
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #646cee;
/* rgb */ color: rgb(100, 108, 238);
/* oklch */ color: oklch(59.4% 0.192 276.2);
Tailwind
colors: {
  custom: {
    50: '#9c96f4',
    500: '#646cee',
    950: '#000000',
  },
}
SCSS
$custom: #646cee;
$custom-light: #9c96f4;
$custom-dark: #000000;
JSON
{
  "hex": "#646cee",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 238
  },
  "hsl": {
    "h": 236.522,
    "s": 80.233,
    "l": 66.275
  },
  "oklch": {
    "l": 0.59448,
    "c": 0.19245,
    "h": 276.2
  },
  "luminance": 0.19607
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #646CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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