#647EC7#647EC7

#647EC7 is a mid, moderate blue. Relative luminance 0.218; OKLCH L 60.5% C 0.116 H 268.0°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#647EC7
RGBrgb(100, 126, 199)
HSLhsl(224, 47%, 59%)
HSVhsv(224, 50%, 78%)
CMYKcmyk(49.7%, 36.7%, 0%, 22%)
CIE-LABlab(53.76, 10.97, -40.91)
CIE-LCHlch(53.76, 42.36, 285.01°)
OKLaboklab(60.52% -0.004 -0.1154)
OKLCHoklch(60.52% 0.116 268)
XYZxyz(23.0218, 21.7531, 57.0074)
Luminance0.2175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#647EC7 #C7AD64
analogous
#64AFC7 #647EC7 #7B64C7
triadic
#647EC7 #C7647E #7EC764
tetradic
#647EC7 #C764AF #C7AD64 #64C77B
square
#647EC7 #C764AF #C7AD64 #64C77B
split-complementary
#647EC7 #C77B64 #AFC764
monochromatic
#2F4582 #3F5CAF #647EC7 #91A3D7 #BEC9E7

Accessibility & contrast

On white

3.92
#647EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#647EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #647EC7
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##647EC7#FFFFFF#000000##000000
##647EC71.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6285CA
Deuteranopia (green-blind)
#577CC5
Tritanopia (blue-blind)
#3A8E99
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #647ec7;
/* rgb */ color: rgb(100, 126, 199);
/* oklch */ color: oklch(60.5% 0.116 268.0);
Tailwind
colors: {
  custom: {
    50: '#96a3d8',
    500: '#647ec7',
    950: '#000000',
  },
}
SCSS
$custom: #647ec7;
$custom-light: #96a3d8;
$custom-dark: #000000;
JSON
{
  "hex": "#647ec7",
  "rgb": {
    "r": 100,
    "g": 126,
    "b": 199
  },
  "hsl": {
    "h": 224.242,
    "s": 46.919,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60522,
    "c": 0.11552,
    "h": 268
  },
  "luminance": 0.21755
}

Semantic roles & 50–950 ramp

primary
#647EC7
secondary
#D7CDB0
accent
#B451D7
background
#F9FAFD
surface
#F2F3FA
border
#CCCDD3
text
#0E0F14
muted
#7E7F83

Preview Lab

Preview with #647EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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