#646CEA#646CEA

#646CEA is a mid, vivid blue. Relative luminance 0.194; OKLCH L 59.2% C 0.187 H 276.3°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#646CEA
RGBrgb(100, 108, 234)
HSLhsl(236, 76%, 65%)
HSVhsv(236, 57%, 92%)
CMYKcmyk(57.3%, 53.8%, 0%, 8.2%)
CIE-LABlab(51.12, 33.02, -64.91)
CIE-LCHlch(51.12, 72.83, 296.96°)
OKLaboklab(59.16% 0.0206 -0.186)
OKLCHoklch(59.16% 0.187 276.3)
XYZxyz(25.4646, 19.3731, 80.2235)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CEA #EAE264
analogous
#64AFEA #646CEA #9F64EA
triadic
#646CEA #EA646C #6CEA64
tetradic
#646CEA #EA64AF #EAE264 #64EA9F
square
#646CEA #EA64AF #EAE264 #64EA9F
split-complementary
#646CEA #EA9F64 #AFEA64
monochromatic
#1923BA #2E39E3 #646CEA #9A9FF1 #D0D2F9

Accessibility & contrast

On white

4.31
#646CEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#646CEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646CEA
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CEA#FFFFFF#000000##000000
##646CEA1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1780EE
Deuteranopia (green-blind)
#0074E7
Tritanopia (blue-blind)
#0589A1
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #646cea;
/* rgb */ color: rgb(100, 108, 234);
/* oklch */ color: oklch(59.2% 0.187 276.3);
Tailwind
colors: {
  custom: {
    50: '#9b96f1',
    500: '#646cea',
    950: '#000000',
  },
}
SCSS
$custom: #646cea;
$custom-light: #9b96f1;
$custom-dark: #000000;
JSON
{
  "hex": "#646cea",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 234
  },
  "hsl": {
    "h": 236.418,
    "s": 76.136,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59163,
    "c": 0.18715,
    "h": 276.3
  },
  "luminance": 0.19375
}

Semantic roles & 50–950 ramp

primary
#646CEA
secondary
#EBE9BE
accent
#CC0DD8
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #646CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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