#646FD5#646FD5

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

Color values

HEX#646FD5
RGBrgb(100, 111, 213)
HSLhsl(234, 57%, 61%)
HSVhsv(234, 53%, 84%)
CMYKcmyk(53.1%, 47.9%, 0%, 16.5%)
CIE-LABlab(50.55, 24.49, -53.99)
CIE-LCHlch(50.55, 59.28, 294.40°)
OKLaboklab(58.31% 0.0158 -0.1538)
OKLCHoklch(58.31% 0.155 275.9)
XYZxyz(22.9464, 18.8808, 65.3731)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646FD5 #D5CA64
analogous
#64A8D5 #646FD5 #9264D5
triadic
#646FD5 #D5646F #6FD564
tetradic
#646FD5 #D564A8 #D5CA64 #64D592
square
#646FD5 #D564A8 #D5CA64 #64D592
split-complementary
#646FD5 #D59264 #A8D564
monochromatic
#293396 #3644C6 #646FD5 #949CE2 #C4C8EF

Accessibility & contrast

On white

4.40
#646FD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#646FD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646FD5
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646FD5#FFFFFF#000000##000000
##646FD51.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7DD9
Deuteranopia (green-blind)
#3274D3
Tritanopia (blue-blind)
#2F8598
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #646fd5;
/* rgb */ color: rgb(100, 111, 213);
/* oklch */ color: oklch(58.3% 0.155 275.9);
Tailwind
colors: {
  custom: {
    50: '#9898e2',
    500: '#646fd5',
    950: '#000000',
  },
}
SCSS
$custom: #646fd5;
$custom-light: #9898e2;
$custom-dark: #000000;
JSON
{
  "hex": "#646fd5",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 213
  },
  "hsl": {
    "h": 234.159,
    "s": 57.36,
    "l": 61.373
  },
  "oklch": {
    "l": 0.58308,
    "c": 0.15466,
    "h": 275.9
  },
  "luminance": 0.18882
}

Semantic roles & 50–950 ramp

primary
#646FD5
secondary
#E0DBB5
accent
#B521C5
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #646FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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