#6C64D5#6C64D5

#6C64D5 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.8% C 0.168 H 282.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#6C64D5
RGBrgb(108, 100, 213)
HSLhsl(244, 57%, 61%)
HSVhsv(244, 53%, 84%)
CMYKcmyk(49.3%, 53.1%, 0%, 16.5%)
CIE-LABlab(48.39, 32.88, -57.42)
CIE-LCHlch(48.39, 66.16, 299.80°)
OKLaboklab(56.84% 0.0374 -0.1638)
OKLCHoklch(56.84% 0.168 282.8)
XYZxyz(22.7481, 17.1054, 65.0409)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C64D5 #CDD564
analogous
#6495D5 #6C64D5 #A564D5
triadic
#6C64D5 #D56C64 #64D56C
tetradic
#6C64D5 #D56495 #CDD564 #64D5A5
square
#6C64D5 #D56495 #CDD564 #64D5A5
split-complementary
#6C64D5 #D5A564 #95D564
monochromatic
#302996 #4036C6 #6C64D5 #9A94E2 #C7C4EF

Accessibility & contrast

On white

4.75
#6C64D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#6C64D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C64D5
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C64D5#FFFFFF#000000##FFFFFF
##6C64D51.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2777D9
Deuteranopia (green-blind)
#1E6FD3
Tritanopia (blue-blind)
#457D93
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6c64d5;
/* rgb */ color: rgb(108, 100, 213);
/* oklch */ color: oklch(56.8% 0.168 282.8);
Tailwind
colors: {
  custom: {
    50: '#9d90e3',
    500: '#6c64d5',
    950: '#000000',
  },
}
SCSS
$custom: #6c64d5;
$custom-light: #9d90e3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c64d5",
  "rgb": {
    "r": 108,
    "g": 100,
    "b": 213
  },
  "hsl": {
    "h": 244.248,
    "s": 57.36,
    "l": 61.373
  },
  "oklch": {
    "l": 0.56836,
    "c": 0.16802,
    "h": 282.8
  },
  "luminance": 0.17107
}

Semantic roles & 50–950 ramp

primary
#6C64D5
secondary
#DDE0B5
accent
#C521B9
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #6C64D5

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

Preview Lab → · Contrast checker → · Palette generator →

#6C64D5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva