#646CD7#646CD7

#646CD7 is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.9% C 0.161 H 276.9°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#646CD7
RGBrgb(100, 108, 215)
HSLhsl(236, 59%, 62%)
HSVhsv(236, 53%, 84%)
CMYKcmyk(53.5%, 49.8%, 0%, 15.7%)
CIE-LABlab(49.91, 26.96, -56.15)
CIE-LCHlch(49.91, 62.29, 295.65°)
OKLaboklab(57.86% 0.0193 -0.1602)
OKLCHoklch(57.86% 0.161 276.9)
XYZxyz(22.8799, 18.3393, 66.6110)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CD7 #D7CF64
analogous
#64A6D7 #646CD7 #9664D7
triadic
#646CD7 #D7646C #6CD764
tetradic
#646CD7 #D764A6 #D7CF64 #64D796
square
#646CD7 #D764A6 #D7CF64 #64D796
split-complementary
#646CD7 #D79664 #A6D764
monochromatic
#282F99 #343ECA #646CD7 #959AE4 #C5C8F0

Accessibility & contrast

On white

4.50
#646CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#646CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646CD7
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CD7#FFFFFF#000000##000000
##646CD71.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#377CDB
Deuteranopia (green-blind)
#2872D5
Tritanopia (blue-blind)
#2E8497
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #646cd7;
/* rgb */ color: rgb(100, 108, 215);
/* oklch */ color: oklch(57.9% 0.161 276.9);
Tailwind
colors: {
  custom: {
    50: '#9896e4',
    500: '#646cd7',
    950: '#000000',
  },
}
SCSS
$custom: #646cd7;
$custom-light: #9896e4;
$custom-dark: #000000;
JSON
{
  "hex": "#646cd7",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 215
  },
  "hsl": {
    "h": 235.826,
    "s": 58.974,
    "l": 61.765
  },
  "oklch": {
    "l": 0.57862,
    "c": 0.16141,
    "h": 276.9
  },
  "luminance": 0.18341
}

Semantic roles & 50–950 ramp

primary
#646CD7
secondary
#E1DEB6
accent
#BB1FC7
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #646CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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