#646ED9#646ED9

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

Color values

HEX#646ED9
RGBrgb(100, 110, 217)
HSLhsl(235, 61%, 62%)
HSVhsv(235, 54%, 85%)
CMYKcmyk(53.9%, 49.3%, 0%, 14.9%)
CIE-LABlab(50.53, 26.37, -56.28)
CIE-LCHlch(50.53, 62.15, 295.11°)
OKLaboklab(58.38% 0.0174 -0.1606)
OKLCHoklch(58.38% 0.162 276.2)
XYZxyz(23.3519, 18.8694, 68.0438)
Luminance0.1887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646ED9 #D9CF64
analogous
#64A8D9 #646ED9 #9564D9
triadic
#646ED9 #D9646E #6ED964
tetradic
#646ED9 #D964A8 #D9CF64 #64D995
square
#646ED9 #D964A8 #D9CF64 #64D995
split-complementary
#646ED9 #D99564 #A8D964
monochromatic
#26309C #3340CD #646ED9 #959CE5 #C6CAF1

Accessibility & contrast

On white

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

On black

4.77
#646ED9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646ED9
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646ED9#FFFFFF#000000##000000
##646ED91.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#397DDD
Deuteranopia (green-blind)
#2A74D7
Tritanopia (blue-blind)
#2B8699
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #646ed9;
/* rgb */ color: rgb(100, 110, 217);
/* oklch */ color: oklch(58.4% 0.162 276.2);
Tailwind
colors: {
  custom: {
    50: '#9897e5',
    500: '#646ed9',
    950: '#000000',
  },
}
SCSS
$custom: #646ed9;
$custom-light: #9897e5;
$custom-dark: #000000;
JSON
{
  "hex": "#646ed9",
  "rgb": {
    "r": 100,
    "g": 110,
    "b": 217
  },
  "hsl": {
    "h": 234.872,
    "s": 60.622,
    "l": 62.157
  },
  "oklch": {
    "l": 0.58376,
    "c": 0.16152,
    "h": 276.2
  },
  "luminance": 0.18871
}

Semantic roles & 50–950 ramp

primary
#646ED9
secondary
#E2DEB7
accent
#BA1DC8
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #646ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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