#646BE7#646BE7

#646BE7 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.8% C 0.184 H 276.7°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#646BE7
RGBrgb(100, 107, 231)
HSLhsl(237, 73%, 65%)
HSVhsv(237, 57%, 91%)
CMYKcmyk(56.7%, 53.7%, 0%, 9.4%)
CIE-LABlab(50.68, 32.66, -63.94)
CIE-LCHlch(50.68, 71.80, 297.06°)
OKLaboklab(58.77% 0.0215 -0.1832)
OKLCHoklch(58.77% 0.184 276.7)
XYZxyz(24.9324, 18.9925, 77.9379)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646BE7 #E7E064
analogous
#64ACE7 #646BE7 #9F64E7
triadic
#646BE7 #E7646B #6BE764
tetradic
#646BE7 #E764AC #E7E064 #64E79F
square
#646BE7 #E764AC #E7E064 #64E79F
split-complementary
#646BE7 #E79F64 #ACE764
monochromatic
#1C24B5 #2F38DF #646BE7 #999EEF #CED0F7

Accessibility & contrast

On white

4.38
#646BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#646BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646BE7
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646BE7#FFFFFF#000000##000000
##646BE71.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A7EEB
Deuteranopia (green-blind)
#0073E4
Tritanopia (blue-blind)
#12889F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #646be7;
/* rgb */ color: rgb(100, 107, 231);
/* oklch */ color: oklch(58.8% 0.184 276.7);
Tailwind
colors: {
  custom: {
    50: '#9b95ef',
    500: '#646be7',
    950: '#000000',
  },
}
SCSS
$custom: #646be7;
$custom-light: #9b95ef;
$custom-dark: #000000;
JSON
{
  "hex": "#646be7",
  "rgb": {
    "r": 100,
    "g": 107,
    "b": 231
  },
  "hsl": {
    "h": 236.794,
    "s": 73.184,
    "l": 64.902
  },
  "oklch": {
    "l": 0.58769,
    "c": 0.18442,
    "h": 276.7
  },
  "luminance": 0.18994
}

Semantic roles & 50–950 ramp

primary
#646BE7
secondary
#EAE7BD
accent
#CB10D5
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #646BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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