#647EF5#647EF5

#647EF5 is a light, vivid blue. Relative luminance 0.242; OKLCH L 63.3% C 0.179 H 271.2°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#647EF5
RGBrgb(100, 126, 245)
HSLhsl(229, 88%, 68%)
HSVhsv(229, 59%, 96%)
CMYKcmyk(59.2%, 48.6%, 0%, 3.9%)
CIE-LABlab(56.31, 25.67, -62.68)
CIE-LCHlch(56.31, 67.74, 292.27°)
OKLaboklab(63.29% 0.0037 -0.1793)
OKLCHoklch(63.29% 0.179 271.2)
XYZxyz(29.1923, 24.2213, 89.5053)
Luminance0.2422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#647EF5 #F5DB64
analogous
#64C7F5 #647EF5 #9264F5
triadic
#647EF5 #F5647E #7EF564
tetradic
#647EF5 #F564C7 #F5DB64 #64F592
square
#647EF5 #F564C7 #F5DB64 #64F592
split-complementary
#647EF5 #F59264 #C7F564
monochromatic
#0D31D1 #2B4EF1 #647EF5 #9DAEF9 #D7DEFC

Accessibility & contrast

On white

3.59
#647EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#647EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #647EF5
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##647EF5#FFFFFF#000000##000000
##647EF51.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#408EF9
Deuteranopia (green-blind)
#2581F3
Tritanopia (blue-blind)
#0099AE
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #647ef5;
/* rgb */ color: rgb(100, 126, 245);
/* oklch */ color: oklch(63.3% 0.179 271.2);
Tailwind
colors: {
  custom: {
    50: '#9ca3f9',
    500: '#647ef5',
    950: '#000000',
  },
}
SCSS
$custom: #647ef5;
$custom-light: #9ca3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#647ef5",
  "rgb": {
    "r": 100,
    "g": 126,
    "b": 245
  },
  "hsl": {
    "h": 229.241,
    "s": 87.879,
    "l": 67.647
  },
  "oklch": {
    "l": 0.63294,
    "c": 0.17931,
    "h": 271.2
  },
  "luminance": 0.24224
}

Semantic roles & 50–950 ramp

primary
#647EF5
secondary
#F1E9C4
accent
#BC01E4
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0F17
muted
#7F7E85

Preview Lab

Preview with #647EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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