#646FD8#646FD8

#646FD8 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.5% C 0.159 H 275.8°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#646FD8
RGBrgb(100, 111, 216)
HSLhsl(234, 60%, 62%)
HSVhsv(234, 54%, 85%)
CMYKcmyk(53.7%, 48.6%, 0%, 15.3%)
CIE-LABlab(50.73, 25.45, -55.40)
CIE-LCHlch(50.73, 60.96, 294.67°)
OKLaboklab(58.5% 0.0162 -0.158)
OKLCHoklch(58.5% 0.159 275.8)
XYZxyz(23.3307, 19.0345, 67.3971)
Luminance0.1904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646FD8 #D8CD64
analogous
#64A9D8 #646FD8 #9364D8
triadic
#646FD8 #D8646F #6FD864
tetradic
#646FD8 #D864A9 #D8CD64 #64D893
square
#646FD8 #D864A9 #D8CD64 #64D893
split-complementary
#646FD8 #D89364 #A9D864
monochromatic
#27329B #3342CC #646FD8 #959CE4 #C6CAF1

Accessibility & contrast

On white

4.37
#646FD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#646FD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646FD8
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646FD8#FFFFFF#000000##000000
##646FD81.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7EDC
Deuteranopia (green-blind)
#2E74D6
Tritanopia (blue-blind)
#2C8699
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #646fd8;
/* rgb */ color: rgb(100, 111, 216);
/* oklch */ color: oklch(58.5% 0.159 275.8);
Tailwind
colors: {
  custom: {
    50: '#9898e5',
    500: '#646fd8',
    950: '#000000',
  },
}
SCSS
$custom: #646fd8;
$custom-light: #9898e5;
$custom-dark: #000000;
JSON
{
  "hex": "#646fd8",
  "rgb": {
    "r": 100,
    "g": 111,
    "b": 216
  },
  "hsl": {
    "h": 234.31,
    "s": 59.794,
    "l": 61.961
  },
  "oklch": {
    "l": 0.58502,
    "c": 0.15883,
    "h": 275.8
  },
  "luminance": 0.19036
}

Semantic roles & 50–950 ramp

primary
#646FD8
secondary
#E1DDB7
accent
#B71EC7
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #646FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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