#646CD5#646CD5

#646CD5 is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.7% C 0.159 H 276.9°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#646CD5
RGBrgb(100, 108, 213)
HSLhsl(236, 57%, 61%)
HSVhsv(236, 53%, 84%)
CMYKcmyk(53.1%, 49.3%, 0%, 16.5%)
CIE-LABlab(49.78, 26.33, -55.21)
CIE-LCHlch(49.78, 61.17, 295.49°)
OKLaboklab(57.73% 0.0192 -0.1575)
OKLCHoklch(57.73% 0.159 276.9)
XYZxyz(22.6245, 18.2371, 65.2658)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CD5 #D5CD64
analogous
#64A5D5 #646CD5 #9564D5
triadic
#646CD5 #D5646C #6CD564
tetradic
#646CD5 #D564A5 #D5CD64 #64D595
square
#646CD5 #D564A5 #D5CD64 #64D595
split-complementary
#646CD5 #D59564 #A5D564
monochromatic
#293096 #3640C6 #646CD5 #949AE2 #C4C7EF

Accessibility & contrast

On white

4.52
#646CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#646CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646CD5
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CD5#FFFFFF#000000##000000
##646CD51.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#397BD9
Deuteranopia (green-blind)
#2B72D3
Tritanopia (blue-blind)
#308396
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #646cd5;
/* rgb */ color: rgb(100, 108, 213);
/* oklch */ color: oklch(57.7% 0.159 276.9);
Tailwind
colors: {
  custom: {
    50: '#9896e2',
    500: '#646cd5',
    950: '#000000',
  },
}
SCSS
$custom: #646cd5;
$custom-light: #9896e2;
$custom-dark: #000000;
JSON
{
  "hex": "#646cd5",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 213
  },
  "hsl": {
    "h": 235.752,
    "s": 57.36,
    "l": 61.373
  },
  "oklch": {
    "l": 0.5773,
    "c": 0.15864,
    "h": 276.9
  },
  "luminance": 0.18239
}

Semantic roles & 50–950 ramp

primary
#646CD5
secondary
#E0DDB5
accent
#B921C5
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #646CD5

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

Preview Lab → · Contrast checker → · Palette generator →

#646CD5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva