#646ED6#646ED6

#646ED6 is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.2% C 0.157 H 276.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#646ED6
RGBrgb(100, 110, 214)
HSLhsl(235, 58%, 62%)
HSVhsv(235, 53%, 84%)
CMYKcmyk(53.3%, 48.6%, 0%, 16.1%)
CIE-LABlab(50.35, 25.42, -54.87)
CIE-LCHlch(50.35, 60.47, 294.86°)
OKLaboklab(58.18% 0.017 -0.1564)
OKLCHoklch(58.18% 0.157 276.2)
XYZxyz(22.9652, 18.7147, 66.0075)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646ED6 #D6CC64
analogous
#64A7D6 #646ED6 #9364D6
triadic
#646ED6 #D6646E #6ED664
tetradic
#646ED6 #D664A7 #D6CC64 #64D693
square
#646ED6 #D664A7 #D6CC64 #64D693
split-complementary
#646ED6 #D69364 #A7D664
monochromatic
#283298 #3542C8 #646ED6 #949BE3 #C5C9F0

Accessibility & contrast

On white

4.43
#646ED6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#646ED6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646ED6
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646ED6#FFFFFF#000000##000000
##646ED61.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7DDA
Deuteranopia (green-blind)
#2E73D4
Tritanopia (blue-blind)
#2E8598
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #646ed6;
/* rgb */ color: rgb(100, 110, 214);
/* oklch */ color: oklch(58.2% 0.157 276.2);
Tailwind
colors: {
  custom: {
    50: '#9897e3',
    500: '#646ed6',
    950: '#000000',
  },
}
SCSS
$custom: #646ed6;
$custom-light: #9897e3;
$custom-dark: #000000;
JSON
{
  "hex": "#646ed6",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 214
  },
  "hsl": {
    "h": 234.737,
    "s": 58.163,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58179,
    "c": 0.15738,
    "h": 276.2
  },
  "luminance": 0.18716
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #646ED6

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

Preview Lab → · Contrast checker → · Palette generator →

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