#646BE5#646BE5

#646BE5 is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.6% C 0.182 H 276.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#646BE5
RGBrgb(100, 107, 229)
HSLhsl(237, 71%, 65%)
HSVhsv(237, 56%, 90%)
CMYKcmyk(56.3%, 53.3%, 0%, 10.2%)
CIE-LABlab(50.55, 32.03, -63.03)
CIE-LCHlch(50.55, 70.70, 296.93°)
OKLaboklab(58.63% 0.0214 -0.1805)
OKLCHoklch(58.63% 0.182 276.8)
XYZxyz(24.6516, 18.8801, 76.4588)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646BE5 #E5DE64
analogous
#64ACE5 #646BE5 #9E64E5
triadic
#646BE5 #E5646B #6BE564
tetradic
#646BE5 #E564AC #E5DE64 #64E59E
square
#646BE5 #E564AC #E5DE64 #64E59E
split-complementary
#646BE5 #E59E64 #ACE564
monochromatic
#1E26B1 #3039DC #646BE5 #989DEE #CDCFF7

Accessibility & contrast

On white

4.40
#646BE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#646BE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646BE5
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646BE5#FFFFFF#000000##000000
##646BE51.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F7EE9
Deuteranopia (green-blind)
#0073E2
Tritanopia (blue-blind)
#17879E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #646be5;
/* rgb */ color: rgb(100, 107, 229);
/* oklch */ color: oklch(58.6% 0.182 276.8);
Tailwind
colors: {
  custom: {
    50: '#9a95ee',
    500: '#646be5',
    950: '#000000',
  },
}
SCSS
$custom: #646be5;
$custom-light: #9a95ee;
$custom-dark: #000000;
JSON
{
  "hex": "#646be5",
  "rgb": {
    "r": 100,
    "g": 107,
    "b": 229
  },
  "hsl": {
    "h": 236.744,
    "s": 71.271,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58629,
    "c": 0.18175,
    "h": 276.8
  },
  "luminance": 0.18882
}

Semantic roles & 50–950 ramp

primary
#646BE5
secondary
#E9E6BC
accent
#C912D3
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #646BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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