#646EC7#646EC7

#646EC7 is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.2% C 0.136 H 276.4°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#646EC7
RGBrgb(100, 110, 199)
HSLhsl(234, 47%, 59%)
HSVhsv(234, 50%, 78%)
CMYKcmyk(49.7%, 44.7%, 0%, 22%)
CIE-LABlab(49.48, 20.70, -47.71)
CIE-LCHlch(49.48, 52.01, 293.46°)
OKLaboklab(57.23% 0.0151 -0.1354)
OKLCHoklch(57.23% 0.136 276.4)
XYZxyz(21.1370, 17.9835, 56.3791)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646EC7 #C7BD64
analogous
#649FC7 #646EC7 #8B64C7
triadic
#646EC7 #C7646E #6EC764
tetradic
#646EC7 #C7649F #C7BD64 #64C78B
square
#646EC7 #C7649F #C7BD64 #64C78B
split-complementary
#646EC7 #C78B64 #9FC764
monochromatic
#2F3782 #3F4AAF #646EC7 #9198D7 #BEC2E7

Accessibility & contrast

On white

4.57
#646EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#646EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646EC7
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646EC7#FFFFFF#000000##000000
##646EC71.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#497ACA
Deuteranopia (green-blind)
#4072C5
Tritanopia (blue-blind)
#3D8191
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #646ec7;
/* rgb */ color: rgb(100, 110, 199);
/* oklch */ color: oklch(57.2% 0.136 276.4);
Tailwind
colors: {
  custom: {
    50: '#9697d8',
    500: '#646ec7',
    950: '#000000',
  },
}
SCSS
$custom: #646ec7;
$custom-light: #9697d8;
$custom-dark: #000000;
JSON
{
  "hex": "#646ec7",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 199
  },
  "hsl": {
    "h": 233.939,
    "s": 46.919,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57232,
    "c": 0.13628,
    "h": 276.4
  },
  "luminance": 0.17985
}

Semantic roles & 50–950 ramp

primary
#646EC7
secondary
#D7D3B0
accent
#C951D7
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0D14
muted
#7E7E83

Preview Lab

Preview with #646EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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