#646CD9#646CD9

#646CD9 is a mid, vivid blue. Relative luminance 0.184; OKLCH L 58.0% C 0.164 H 276.8°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#646CD9
RGBrgb(100, 108, 217)
HSLhsl(236, 61%, 62%)
HSVhsv(236, 54%, 85%)
CMYKcmyk(53.9%, 50.2%, 0%, 14.9%)
CIE-LABlab(50.03, 27.60, -57.09)
CIE-LCHlch(50.03, 63.41, 295.80°)
OKLaboklab(58% 0.0195 -0.163)
OKLCHoklch(58% 0.164 276.8)
XYZxyz(23.1385, 18.4427, 67.9727)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646CD9 #D9D164
analogous
#64A7D9 #646CD9 #9664D9
triadic
#646CD9 #D9646C #6CD964
tetradic
#646CD9 #D964A7 #D9D164 #64D996
square
#646CD9 #D964A7 #D9D164 #64D996
split-complementary
#646CD9 #D99664 #A7D964
monochromatic
#262E9C #333DCD #646CD9 #959BE5 #C6C9F1

Accessibility & contrast

On white

4.48
#646CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#646CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #646CD9
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646CD9#FFFFFF#000000##000000
##646CD91.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#357CDD
Deuteranopia (green-blind)
#2472D7
Tritanopia (blue-blind)
#2B8498
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #646cd9;
/* rgb */ color: rgb(100, 108, 217);
/* oklch */ color: oklch(58.0% 0.164 276.8);
Tailwind
colors: {
  custom: {
    50: '#9896e5',
    500: '#646cd9',
    950: '#000000',
  },
}
SCSS
$custom: #646cd9;
$custom-light: #9896e5;
$custom-dark: #000000;
JSON
{
  "hex": "#646cd9",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 217
  },
  "hsl": {
    "h": 235.897,
    "s": 60.622,
    "l": 62.157
  },
  "oklch": {
    "l": 0.57995,
    "c": 0.16416,
    "h": 276.8
  },
  "luminance": 0.18444
}

Semantic roles & 50–950 ramp

primary
#646CD9
secondary
#E2DFB7
accent
#BD1DC8
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0F0D16
muted
#7E7E84

Preview Lab

Preview with #646CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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