#647BEA#647BEA

#647BEA is a mid, vivid blue. Relative luminance 0.228; OKLCH L 62.0% C 0.168 H 271.9°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#647BEA
RGBrgb(100, 123, 234)
HSLhsl(230, 76%, 65%)
HSVhsv(230, 57%, 92%)
CMYKcmyk(57.3%, 47.4%, 0%, 8.2%)
CIE-LABlab(54.88, 23.92, -58.86)
CIE-LCHlch(54.88, 63.53, 292.11°)
OKLaboklab(62% 0.0055 -0.1681)
OKLCHoklch(62% 0.168 271.9)
XYZxyz(27.1849, 22.8137, 80.7969)
Luminance0.2282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#647BEA #EAD364
analogous
#64BEEA #647BEA #9064EA
triadic
#647BEA #EA647B #7BEA64
tetradic
#647BEA #EA64BE #EAD364 #64EA90
square
#647BEA #EA64BE #EAD364 #64EA90
split-complementary
#647BEA #EA9064 #BEEA64
monochromatic
#1935BA #2E4DE3 #647BEA #9AA9F1 #D0D7F9

Accessibility & contrast

On white

3.77
#647BEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#647BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #647BEA
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##647BEA#FFFFFF#000000##000000
##647BEA1.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4589EE
Deuteranopia (green-blind)
#307EE8
Tritanopia (blue-blind)
#0094A7
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #647bea;
/* rgb */ color: rgb(100, 123, 234);
/* oklch */ color: oklch(62.0% 0.168 271.9);
Tailwind
colors: {
  custom: {
    50: '#9aa0f1',
    500: '#647bea',
    950: '#000000',
  },
}
SCSS
$custom: #647bea;
$custom-light: #9aa0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#647bea",
  "rgb": {
    "r": 100,
    "g": 123,
    "b": 234
  },
  "hsl": {
    "h": 229.701,
    "s": 76.136,
    "l": 65.49
  },
  "oklch": {
    "l": 0.61997,
    "c": 0.16815,
    "h": 271.9
  },
  "luminance": 0.22816
}

Semantic roles & 50–950 ramp

primary
#647BEA
secondary
#EBE4BE
accent
#B50DD8
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #647BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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