#646FD7#646FD7

#646FD7 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.4% C 0.157 H 275.9°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#646FD7
RGBrgb(100, 111, 215)
HSLhsl(234, 59%, 62%)
HSVhsv(234, 53%, 84%)
CMYKcmyk(53.5%, 48.4%, 0%, 15.7%)
CIE-LABlab(50.67, 25.13, -54.93)
CIE-LCHlch(50.67, 60.40, 294.58°)
OKLaboklab(58.44% 0.016 -0.1566)
OKLCHoklch(58.44% 0.157 275.9)
XYZxyz(23.2018, 18.9830, 66.7183)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646FD7 #D7CC64
analogous
#64A9D7 #646FD7 #9364D7
triadic
#646FD7 #D7646F #6FD764
tetradic
#646FD7 #D764A9 #D7CC64 #64D793
square
#646FD7 #D764A9 #D7CC64 #64D793
split-complementary
#646FD7 #D79364 #A9D764
monochromatic
#283299 #3442CA #646FD7 #959CE4 #C5C9F0

Accessibility & contrast

On white

4.38
#646FD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#646FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646FD7
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646FD7#FFFFFF#000000##000000
##646FD71.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7EDB
Deuteranopia (green-blind)
#2F74D5
Tritanopia (blue-blind)
#2D8699
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #646fd7;
/* rgb */ color: rgb(100, 111, 215);
/* oklch */ color: oklch(58.4% 0.157 275.9);
Tailwind
colors: {
  custom: {
    50: '#9898e4',
    500: '#646fd7',
    950: '#000000',
  },
}
SCSS
$custom: #646fd7;
$custom-light: #9898e4;
$custom-dark: #000000;
JSON
{
  "hex": "#646fd7",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 215
  },
  "hsl": {
    "h": 234.261,
    "s": 58.974,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58437,
    "c": 0.15744,
    "h": 275.9
  },
  "luminance": 0.18985
}

Semantic roles & 50–950 ramp

primary
#646FD7
secondary
#E1DDB6
accent
#B71FC7
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #646FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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