#646FD6#646FD6

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

Color values

HEX#646FD6
RGBrgb(100, 111, 214)
HSLhsl(234, 58%, 62%)
HSVhsv(234, 53%, 84%)
CMYKcmyk(53.3%, 48.1%, 0%, 16.1%)
CIE-LABlab(50.61, 24.81, -54.46)
CIE-LCHlch(50.61, 59.84, 294.49°)
OKLaboklab(58.37% 0.0159 -0.1552)
OKLCHoklch(58.37% 0.156 275.9)
XYZxyz(23.0737, 18.9317, 66.0436)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646FD6 #D6CB64
analogous
#64A8D6 #646FD6 #9264D6
triadic
#646FD6 #D6646F #6FD664
tetradic
#646FD6 #D664A8 #D6CB64 #64D692
square
#646FD6 #D664A8 #D6CB64 #64D692
split-complementary
#646FD6 #D69264 #A8D664
monochromatic
#283398 #3543C8 #646FD6 #949CE3 #C5C9F0

Accessibility & contrast

On white

4.39
#646FD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#646FD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646FD6
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646FD6#FFFFFF#000000##000000
##646FD61.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7DDA
Deuteranopia (green-blind)
#3174D4
Tritanopia (blue-blind)
#2E8698
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #646fd6;
/* rgb */ color: rgb(100, 111, 214);
/* oklch */ color: oklch(58.4% 0.156 275.9);
Tailwind
colors: {
  custom: {
    50: '#9898e3',
    500: '#646fd6',
    950: '#000000',
  },
}
SCSS
$custom: #646fd6;
$custom-light: #9898e3;
$custom-dark: #000000;
JSON
{
  "hex": "#646fd6",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 214
  },
  "hsl": {
    "h": 234.211,
    "s": 58.163,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58373,
    "c": 0.15606,
    "h": 275.9
  },
  "luminance": 0.18933
}

Semantic roles & 50–950 ramp

primary
#646FD6
secondary
#E0DCB6
accent
#B620C6
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0D15
muted
#7E7E84

Preview Lab

Preview with #646FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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