#647CE4#647CE4

#647CE4 is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.8% C 0.159 H 271.3°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#647CE4
RGBrgb(100, 124, 228)
HSLhsl(229, 70%, 64%)
HSVhsv(229, 56%, 89%)
CMYKcmyk(56.1%, 45.6%, 0%, 10.6%)
CIE-LABlab(54.79, 21.37, -55.66)
CIE-LCHlch(54.79, 59.62, 291.01°)
OKLaboklab(61.81% 0.0036 -0.1586)
OKLCHoklch(61.81% 0.159 271.3)
XYZxyz(26.4622, 22.7241, 76.3755)
Luminance0.2273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#647CE4 #E4CC64
analogous
#64BCE4 #647CE4 #8C64E4
triadic
#647CE4 #E4647C #7CE464
tetradic
#647CE4 #E464BC #E4CC64 #64E48C
square
#647CE4 #E464BC #E4CC64 #64E48C
split-complementary
#647CE4 #E48C64 #BCE464
monochromatic
#1F3AAF #3050DB #647CE4 #98A8ED #CCD4F6

Accessibility & contrast

On white

3.79
#647CE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#647CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #647CE4
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##647CE4#FFFFFF#000000##000000
##647CE41.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C89E8
Deuteranopia (green-blind)
#3B7EE2
Tritanopia (blue-blind)
#1293A5
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #647ce4;
/* rgb */ color: rgb(100, 124, 228);
/* oklch */ color: oklch(61.8% 0.159 271.3);
Tailwind
colors: {
  custom: {
    50: '#99a1ed',
    500: '#647ce4',
    950: '#000000',
  },
}
SCSS
$custom: #647ce4;
$custom-light: #99a1ed;
$custom-dark: #000000;
JSON
{
  "hex": "#647ce4",
  "rgb": {
    "r": 100,
    "g": 124,
    "b": 228
  },
  "hsl": {
    "h": 228.75,
    "s": 70.33,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61813,
    "c": 0.15867,
    "h": 271.3
  },
  "luminance": 0.22726
}

Semantic roles & 50–950 ramp

primary
#647CE4
secondary
#E8E0BC
accent
#AE13D2
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84

Preview Lab

Preview with #647CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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