#646ED8#646ED8

#646ED8 is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.3% C 0.160 H 276.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#646ED8
RGBrgb(100, 110, 216)
HSLhsl(235, 60%, 62%)
HSVhsv(235, 54%, 85%)
CMYKcmyk(53.7%, 49.1%, 0%, 15.3%)
CIE-LABlab(50.47, 26.06, -55.81)
CIE-LCHlch(50.47, 61.59, 295.03°)
OKLaboklab(58.31% 0.0173 -0.1592)
OKLCHoklch(58.31% 0.16 276.2)
XYZxyz(23.2222, 18.8175, 67.3609)
Luminance0.1882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646ED8 #D8CE64
analogous
#64A8D8 #646ED8 #9464D8
triadic
#646ED8 #D8646E #6ED864
tetradic
#646ED8 #D864A8 #D8CE64 #64D894
square
#646ED8 #D864A8 #D8CE64 #64D894
split-complementary
#646ED8 #D89464 #A8D864
monochromatic
#27319B #3340CC #646ED8 #959CE4 #C6C9F1

Accessibility & contrast

On white

4.41
#646ED8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#646ED8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646ED8
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646ED8#FFFFFF#000000##000000
##646ED81.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7DDC
Deuteranopia (green-blind)
#2B74D6
Tritanopia (blue-blind)
#2C8699
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #646ed8;
/* rgb */ color: rgb(100, 110, 216);
/* oklch */ color: oklch(58.3% 0.160 276.2);
Tailwind
colors: {
  custom: {
    50: '#9897e5',
    500: '#646ed8',
    950: '#000000',
  },
}
SCSS
$custom: #646ed8;
$custom-light: #9897e5;
$custom-dark: #000000;
JSON
{
  "hex": "#646ed8",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 216
  },
  "hsl": {
    "h": 234.828,
    "s": 59.794,
    "l": 61.961
  },
  "oklch": {
    "l": 0.5831,
    "c": 0.16015,
    "h": 276.2
  },
  "luminance": 0.18819
}

Semantic roles & 50–950 ramp

primary
#646ED8
secondary
#E1DEB7
accent
#B91EC7
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #646ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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