#647BC5#647BC5

#647BC5 is a mid, moderate blue. Relative luminance 0.209; OKLCH L 59.8% C 0.116 H 269.6°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#647BC5
RGBrgb(100, 123, 197)
HSLhsl(226, 46%, 58%)
HSVhsv(226, 49%, 77%)
CMYKcmyk(49.2%, 37.6%, 0%, 22.7%)
CIE-LABlab(52.85, 12.16, -41.22)
CIE-LCHlch(52.85, 42.98, 286.43°)
OKLaboklab(59.78% -0.0008 -0.1164)
OKLCHoklch(59.78% 0.116 269.6)
XYZxyz(22.4133, 20.9050, 55.6665)
Luminance0.2091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#647BC5 #C5AE64
analogous
#64ABC5 #647BC5 #7D64C5
triadic
#647BC5 #C5647B #7BC564
tetradic
#647BC5 #C564AB #C5AE64 #64C57D
square
#647BC5 #C564AB #C5AE64 #64C57D
split-complementary
#647BC5 #C57D64 #ABC564
monochromatic
#30427F #405AAC #647BC5 #91A1D6 #BDC7E6

Accessibility & contrast

On white

4.05
#647BC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#647BC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #647BC5
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##647BC5#FFFFFF#000000##000000
##647BC51.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F83C8
Deuteranopia (green-blind)
#557AC3
Tritanopia (blue-blind)
#3C8B96
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #647bc5;
/* rgb */ color: rgb(100, 123, 197);
/* oklch */ color: oklch(59.8% 0.116 269.6);
Tailwind
colors: {
  custom: {
    50: '#95a0d7',
    500: '#647bc5',
    950: '#000000',
  },
}
SCSS
$custom: #647bc5;
$custom-light: #95a0d7;
$custom-dark: #000000;
JSON
{
  "hex": "#647bc5",
  "rgb": {
    "r": 100,
    "g": 123,
    "b": 197
  },
  "hsl": {
    "h": 225.773,
    "s": 45.54,
    "l": 58.235
  },
  "oklch": {
    "l": 0.5978,
    "c": 0.11638,
    "h": 269.6
  },
  "luminance": 0.20906
}

Semantic roles & 50–950 ramp

primary
#647BC5
secondary
#D6CDAF
accent
#B653D5
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0E14
muted
#7E7E83

Preview Lab

Preview with #647BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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